Datasources

List available data sources

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.

get/v1/datasources

Request

  • Base URL: https://api.valyu.ai
  • URL: https://api.valyu.ai/v1/datasources
  • Auth: API key in header X-API-Key

Query parameters

categorystring

Filter datasources by category. Use the categories endpoint to discover available categories.

Response

List of available datasources.

successboolean required

Whether the request succeeded.

total_countinteger

Total number of datasources returned.

categoriesobject

Summary of categories with counts.

Example response

{
  "success": true,
  "datasources": [
    {
      "id": "valyu/valyu-arxiv",
      "name": "arXiv",
      "description": "Preprints in physics, mathematics, computer science, and more.",
      "category": "research",
      "type": "paper",
      "topics": [
        "physics",
        "mathematics",
        "computer science"
      ],
      "languages": [
        "en",
        "es",
        "fr"
      ],
      "source": "pubmed",
      "modality": [
        "text"
      ],
      "example_queries": [
        "CRISPR gene editing mechanisms",
        "quantum error correction methods"
      ],
      "pricing": {
        "cpm": 0.5
      },
      "update_frequency": "daily",
      "size": 2500000
    }
  ],
  "total_count": 36
}

Changes

No recorded changes to this operation across all 1 revision of this API.