> ## Documentation Index
> Fetch the complete documentation index at: https://docs.valyu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# List Datasources

> GET /v1/datasources reference: list every Valyu dataset with its ID, category, description, example queries, schema, access modes and price per 1,000 results.

Discover source IDs, descriptions, pricing and response metadata before choosing sources for your application. Use the returned information to build a source picker or retrieval configuration.

`pricing.cpm` is the price per 1,000 results returned from that source (a value of `0` means no price is configured, not that the source is free). `access_modes` lists the products a source works in: a source without `search` can't be queried through Search. `required_plan` is the cheapest plan that includes the source (`{id, name, price}`), or `null` when it is licensed separately, so you can choose sources or an upgrade before you search.

A listing is not a promise of unrestricted access. Check the source's availability, supported product and your account's access before depending on it. Public datasets and licensed content can both appear in the catalog.

Use [Search datasources](https://docs.valyu.ai/api-reference/endpoint/datasources-search.md) when you know the information you need but not the dataset name.


## OpenAPI

````yaml GET /v1/datasources
openapi: 3.0.3
info:
  title: Valyu API
  version: 2.3.0
  description: >
    The search API built for AI agents. One API that gives your AI unified
    access to web search, academic papers, financial data, SEC filings, clinical
    trials, patents, genomics, and 40+ proprietary data sources.


    ## Products


    | Product | Endpoint | Description |

    | --- | --- | --- |

    | **Search** | `POST /v1/search` | Multi-source search across web and
    proprietary datasets |

    | **Contents** | `POST /v1/contents` | Extract clean, structured content
    from URLs |

    | **Answer** | `POST /v1/answer` | AI-powered answers with real-time search
    |

    | **DeepResearch** | `POST /v1/deepresearch/tasks` | Async research agents
    for comprehensive analysis |

    | **Workflows** (Beta) | `GET /v1/workflows` | Templated, versioned
    DeepResearch for repeatable knowledge work |

    | **Datasources** | `GET /v1/datasources` | Discover available data sources
    and their schemas |


    ## Authentication


    All endpoints require an API key passed via the `X-API-Key` header (the
    lowercase `x-api-key` form is also accepted). Get your key at
    [platform.valyu.ai](https://platform.valyu.ai).


    ```

    X-API-Key: your_api_key_here

    ```


    ## Pricing


    Pay per use in credits. One credit balance covers every API.

    - **Search**: priced per result returned. Web and news results use 0.1
    credits each (100 per 1,000 results). arXiv, PubMed, bioRxiv and medRxiv use
    0.05 credits each (50 per 1,000). Other datasets have their own price per
    1,000 results, listed in `GET /v1/datasources` (`pricing.cpm`).

    - **Contents**: 0.2 credits per successfully extracted URL. Any AI
    processing (a text summary or structured extraction through `summary`)
    brings the price to 0.6 credits per URL in total, the same for both. Failed
    URLs are free.

    - **Answer**: no per-request fee. You pay for the search, content extraction
    and AI processing each answer uses, reported in
    `cost.total_deduction_dollars`.

    - **DeepResearch**: fixed price per task by mode: instant 8 credits, fast
    25, standard 100, heavy 500, max 2,500, plus tool add-ons.


    Every plan includes web search and open academic sources. Paid plans unlock
    specialist sources such as SEC filings, clinical trials, patents and
    genomics. See [pricing](https://docs.valyu.ai/pricing) for plans and free
    credits.


    ## Rate limits


    Limits apply per organisation: 10 requests per second with bursts up to 20,
    and 86,400 requests per day by default. Enterprise plans can raise them. A
    request over the limit is currently rejected with `403 Forbidden` and the
    body `{"error": "Forbidden", "message": "Access denied - API key is invalid,
    disabled, or revoked"}`. If a key that otherwise works starts receiving 403
    under load, reduce concurrency and retry with exponential backoff.


    ## SDKs


    - [Python SDK](https://pypi.org/project/valyu/) - `pip install valyu`

    - [TypeScript SDK](https://www.npmjs.com/package/valyu-js) - `npm install
    valyu-js`
  contact:
    name: Valyu Support
    url: https://valyu.ai
    email: support@valyu.ai
  x-logo:
    url: https://valyu.ai/logo.png
    altText: Valyu
servers:
  - url: https://api.valyu.ai
    description: Production
security:
  - ApiKeyAuth: []
tags:
  - name: Search
    description: >-
      Search across web, academic, financial, and proprietary data sources.
      Returns results ready for RAG pipelines, AI agents, and applications.
    externalDocs:
      description: Search API Guide
      url: https://docs.valyu.ai/search/quickstart
  - name: Contents
    description: >-
      Extract clean, structured content from web pages at scale. Supports batch
      processing, AI-powered summaries, structured extraction via JSON schemas,
      and async jobs for large URL sets.
    externalDocs:
      description: Contents API Guide
      url: https://docs.valyu.ai/guides/content-extraction
  - name: Answer
    description: >-
      Get AI-powered answers grounded in real-time search results. The Answer
      API searches across web, academic, and financial sources, then uses AI to
      generate a readable response via Server-Sent Events streaming.
    externalDocs:
      description: Answer API Guide
      url: https://docs.valyu.ai/guides/answer-api
  - name: DeepResearch
    description: >-
      Async research agents that perform comprehensive, multi-step research.
      DeepResearch searches multiple sources, analyzes content, and generates
      detailed reports with citations. Tasks run in the background and can take
      minutes to complete.
    externalDocs:
      description: DeepResearch Guide
      url: https://docs.valyu.ai/guides/deepresearch
  - name: Batches
    description: >-
      Run multiple DeepResearch tasks in parallel with shared configuration,
      unified monitoring, and aggregated cost tracking.
    externalDocs:
      description: Batch API Guide
      url: https://docs.valyu.ai/guides/deepresearch-batch-quickstart
  - name: Workflows
    description: >-
      **Beta.** Templated, versioned DeepResearch for repeatable knowledge work
      - earnings previews, diligence reads, market sizings. A workflow bundles a
      prompt template with typed variables, a research strategy, report format,
      deliverables, tools, and a recommended mode. Workflows are immutably
      versioned; runs can pin a version. Two scopes exist: your organization's
      private workflows and curated Valyu workflows available to everyone. Run a
      workflow by passing `workflow_id` + `workflow_params` to `POST
      /v1/deepresearch/tasks` - same auth, billing, and task lifecycle as
      freeform DeepResearch.
    externalDocs:
      description: Workflows Guide (Beta)
      url: https://docs.valyu.ai/guides/workflows
  - name: Datasources
    description: >-
      Discover available data sources and their schemas. A tool manifest for AI
      agents - instead of hardcoding knowledge of available datasets, agents can
      query this API to discover sources, filter by category, and use
      `example_queries` for few-shot prompting.
    externalDocs:
      description: Datasources Guide
      url: https://docs.valyu.ai/guides/datasources
externalDocs:
  description: Complete API Documentation
  url: https://docs.valyu.ai
paths:
  /v1/datasources:
    get:
      tags:
        - Datasources
      summary: List available data sources
      description: >-
        Discover all data sources available through Valyu's search API. Each
        datasource includes metadata, example queries (optimized for few-shot
        prompting), pricing information, and response schemas.


        Use this endpoint to build dynamic tool manifests for AI agents instead
        of hardcoding knowledge of available datasets.
      operationId: listDatasources
      parameters:
        - name: category
          in: query
          schema:
            type: string
          description: >-
            Filter datasources by category. Use the categories endpoint to
            discover available categories.
          example: research
      responses:
        '200':
          description: List of available datasources.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DatasourcesResponse'
              examples:
                example:
                  summary: >-
                    Illustrative catalog subset; consult the endpoint for
                    current coverage
                  value:
                    success: true
                    datasources:
                      - id: valyu/valyu-arxiv
                        name: arXiv
                        description: >-
                          Preprints in physics, mathematics, computer science,
                          quantitative biology, and more.
                        category: research
                        topics:
                          - physics
                          - mathematics
                          - computer science
                        modality:
                          - text
                          - images
                        example_queries:
                          - CRISPR gene editing mechanisms
                          - quantum error correction methods
                        pricing:
                          cpm: 0.3125
                        update_frequency: Monthly
                        size: 1000000
                      - id: valyu/valyu-pubmed
                        name: PubMed
                        description: >-
                          Biomedical literature from MEDLINE, life science
                          journals, and online books.
                        category: healthcare
                        topics:
                          - medicine
                          - biology
                          - pharmacology
                        modality:
                          - text
                          - images
                        example_queries:
                          - GLP-1 receptor agonists for type 2 diabetes
                          - CAR-T cell therapy advances
                        pricing:
                          cpm: 0.3125
                        update_frequency: Monthly
                        size: 2500000
                    total_count: 2
        '400':
          description: >-
            Unknown `category`. List valid values with `GET
            /v1/datasources/categories`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                unknown_category:
                  summary: Unknown category
                  value:
                    success: false
                    error: >-
                      Invalid category 'sports'. Valid categories: company,
                      economic, healthcare, legal, markets, patents, politics,
                      predictions, research, transportation
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          description: The API key does not have permission to read the catalogue.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                permission:
                  summary: Key lacks permission
                  value:
                    success: false
                    error: API key does not have inference permission
        '500':
          $ref: '#/components/responses/InternalServerError'
components:
  schemas:
    DatasourcesResponse:
      type: object
      required:
        - success
        - datasources
      properties:
        success:
          type: boolean
          description: Whether the request succeeded.
          example: true
        datasources:
          type: array
          items:
            $ref: '#/components/schemas/Datasource'
          description: List of available datasources.
        total_count:
          type: integer
          description: Total number of datasources returned.
          example: 36
        categories:
          type: object
          description: Summary of categories with counts.
          additionalProperties:
            type: object
            properties:
              name:
                type: string
              count:
                type: integer
    Error:
      type: object
      description: >-
        Error response. Every error body has `error`. Search, Contents, Answer
        and Datasources errors usually also carry `success: false`. Errors
        returned before a request reaches the endpoint (missing, invalid or
        disabled keys, rate limits) and DeepResearch errors have no `success`
        field. Some errors add a machine-readable `code` and a `recovery`
        object.
      required:
        - error
      properties:
        success:
          type: boolean
          description: '`false` when present.'
          example: false
        error:
          type: string
          description: >-
            Error message, or a machine-readable code for some errors (for
            example `invalid_scope_policy`, or `rate_limited` on a `429`).
          example: Invalid request parameters
        message:
          type: string
          description: >-
            Human-readable detail. Present on errors returned before the request
            reaches the endpoint.
        code:
          type: string
          description: >-
            Stable machine-readable error code, when available. Branch on this
            rather than on the message text.
          example: insufficient_credits
        recovery:
          type: object
          description: Links or details that help resolve the error, when available.
          additionalProperties: true
        transaction_id:
          type: string
          description: Transaction ID for support, when available.
    Datasource:
      type: object
      description: A data source available through Valyu's search API.
      required:
        - id
        - name
        - description
        - category
      properties:
        id:
          type: string
          description: Unique datasource identifier.
          example: valyu/valyu-arxiv
        name:
          type: string
          description: Display name of the datasource.
          example: arXiv
        description:
          type: string
          description: What data this source provides.
          example: Preprints in physics, mathematics, computer science, and more.
        category:
          type: string
          description: >-
            Category classification. The live list is returned by `GET
            /v1/datasources/categories`.
          enum:
            - research
            - healthcare
            - patents
            - markets
            - company
            - economic
            - predictions
            - transportation
            - legal
            - politics
          example: research
        type:
          type: string
          description: Content type (e.g. paper, data, report).
          example: paper
        topics:
          type: array
          description: Subject areas covered by this datasource.
          items:
            type: string
          example:
            - physics
            - mathematics
            - computer science
        languages:
          type: array
          description: Languages supported by this datasource.
          items:
            type: string
          example:
            - en
            - es
            - fr
        source:
          type: string
          description: Source provider or origin of the datasource.
          example: Publicly available arXiv papers
        modality:
          type: array
          items:
            type: string
          description: Data modalities available (e.g. text, images, tabular).
          example:
            - text
        example_queries:
          type: array
          description: Example queries optimized for few-shot prompting.
          items:
            type: string
          example:
            - CRISPR gene editing mechanisms
            - quantum error correction methods
        pricing:
          type: object
          description: Cost information for this datasource.
          properties:
            cpm:
              type: number
              description: >-
                Price per 1,000 results returned from this datasource. `0` means
                no price is configured, not that the source is free.
              example: 0.3125
        required_plan:
          type: object
          nullable: true
          description: >-
            The cheapest plan that includes this dataset. `null` when the
            dataset is licensed separately; contact us for access.
          properties:
            id:
              type: string
              description: >-
                Plan ID: `tier_0` Pay-as-you-go, `tier_1` Ridiculously Cheap,
                `tier_2` Comfortably Pro, `tier_3` Serious Business.
              example: tier_1
            name:
              type: string
              example: Ridiculously Cheap
            price:
              type: string
              example: $29/mo
        access_modes:
          type: array
          items:
            type: string
            enum:
              - search
              - answer
              - deepresearch
          description: >-
            Products this datasource can be used in. A datasource without
            `search` can't be queried through Search; one listing only
            `deepresearch` is available only through DeepResearch.
          example:
            - search
            - answer
            - deepresearch
        response_schema:
          type: object
          description: >-
            JSON Schema describing the response format for results from this
            source.
          additionalProperties: true
        update_frequency:
          type: string
          description: How often the data is updated (Realtime, Daily, Monthly).
          example: Monthly
        size:
          type: integer
          description: Approximate number of records or documents.
          example: 1000000
        coverage:
          type: object
          description: Temporal coverage of the data.
          properties:
            start_date:
              type: string
              format: date-time
              description: Earliest data available.
            end_date:
              type: string
              format: date-time
              nullable: true
              description: Latest data available. `null` if continuously updated.
        geography:
          type: object
          description: Geographic coverage information, if available.
          additionalProperties: true
        capabilities:
          type: object
          description: Search capabilities supported by this datasource.
          additionalProperties: true
        data_source:
          type: object
          description: Data provider information.
          properties:
            provider:
              type: string
            license:
              type: string
  responses:
    Unauthorized:
      description: Missing or invalid API key. Send your key in the `X-API-Key` header.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            missing_or_invalid:
              summary: Missing or invalid API key
              value:
                error: Unauthorized
                message: API key is missing or invalid
            invalid_key:
              summary: Invalid API key (endpoint response)
              value:
                success: false
                error: Invalid API key
    InternalServerError:
      description: An unexpected error occurred on the server.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          examples:
            example:
              summary: Internal error
              value:
                success: false
                error: Internal server error. Please try again later.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        API key for authentication. Get yours at
        [platform.valyu.ai](https://platform.valyu.ai).

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.