Api Endpoint

Exa Search API

Search the web with Exa’s API and return relevant results for your queries.

Open interactive test console

Offering

Provider
api.exa.ai
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Web Search Research
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.exa.ai/search
MIME type
application/json
First seen
2026-10-16T01:50:03.310Z
Last seen
Tags
X402, Exa, ai-search, web-search, Search, content-retrieval

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.007 USDC
Atomic price: 7000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.007 USDC
Atomic price: 7000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 3
0.007 USDC
Atomic price: 7000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 4
7000 atomic units
Atomic price: 7000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 5
7000 atomic units
Atomic price: 7000 · Network: eip155:5042 · Asset: 0x3600000000000000000000000000000000000000 · Scheme: exact
Payment option 6
0.007 USDC
Atomic price: 7000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "7000",
    "payTo": "0x6d6E695b09861467c7d462f5AAF31cF3540B9192"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "7000",
    "payTo": "12Ec2cJmfR1C9uwejzxcuMhUgEC7wDrLgm1wBvvR5w9E"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "7000",
    "payTo": "0xB98eF29eb2be19Ae646A8FC0248255B90A332dbC"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "7000",
    "payTo": "0xB98eF29eb2be19Ae646A8FC0248255B90A332dbC"
  },
  {
    "scheme": "exact",
    "network": "eip155:5042",
    "asset": "0x3600000000000000000000000000000000000000",
    "amount": "7000",
    "payTo": "0xB98eF29eb2be19Ae646A8FC0248255B90A332dbC"
  },
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "7000",
    "payTo": "0xB98eF29eb2be19Ae646A8FC0248255B90A332dbC"
  }
]

Observed health

Status
Healthy
Latest latency
110 ms
Average latency
492 ms
HTTP status
204
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "body": {
    "type": "object",
    "required": [
      "query"
    ],
    "properties": {
      "type": {
        "type": "string",
        "description": "Search type: auto, keyword, neural, deep-lite, deep, deep-reasoning"
      },
      "query": {
        "type": "string",
        "description": "Search query"
      },
      "contents": {
        "type": "object",
        "description": "Content fields to include: text, highlights, summary"
      },
      "numResults": {
        "type": "number",
        "description": "Number of results to return (max 10 for x402)"
      }
    }
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
}

Output schema

{
  "type": "object",
  "properties": {
    "output": {
      "type": "object",
      "required": [
        "content",
        "grounding"
      ],
      "properties": {
        "content": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "type": "object",
              "additionalProperties": {}
            }
          ],
          "description": "Deep-search synthesized content. String by default, or object when outputSchema is provided."
        },
        "grounding": {
          "type": "array",
          "items": {
            "type": "object",
            "required": [
              "field",
              "citations",
              "confidence"
            ],
            "properties": {
              "field": {
                "type": "string",
                "description": "Field path in output.content (for example, content or companies[0].funding)."
              },
              "citations": {
                "type": "array",
                "items": {
                  "type": "object",
                  "required": [
                    "url",
                    "title"
                  ],
                  "properties": {
                    "url": {
                      "type": "string"
                    },
                    "title": {
                      "type": "string"
                    }
                  }
                },
                "description": "Sources supporting this output field."
              },
              "confidence": {
                "enum": [
                  "low",
                  "medium",
                  "high"
                ],
                "type": "string"
              }
            }
          },
          "description": "Field-level grounding for synthesized output."
        }
      },
      "description": "Deep-search synthesized output. Returned for deep search variants."
    },
    "context": {
      "type": "string",
      "description": "Deprecated. Combined context string from search results. Use highlights or text instead."
    },
    "results": {
      "type": "array",
      "items": {
        "allOf": [
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "string",
                "example": "https://arxiv.org/abs/2307.06435",
                "description": "The temporary ID for the document. Useful for /contents endpoint."
              },
              "url": {
                "type": "string",
                "format": "uri",
                "example": "https://arxiv.org/pdf/2307.06435.pdf",
                "description": "The URL of the search result."
              },
              "image": {
                "type": "string",
                "format": "uri",
                "example": "https://arxiv.org/pdf/2307.06435.pdf/page_1.png",
                "description": "The URL of an image associated with the search result, if available."
              },
              "score": {
                "type": [
                  "number",
                  "null"
                ],
                "example": 0.4600165784358978,
                "description": "A number from 0 to 1 representing similarity between the query/url and the result."
              },
              "title": {
                "type": "string",
                "example": "A Comprehensive Overview of Large Language Models",
                "description": "The title of the search result."
              },
              "author": {
                "type": [
                  "string",
                  "null"
                ],
                "example": "Humza  Naveed, University of Engineering and Technology (UET), Lahore, Pakistan",
                "description": "If available, the author of the content."
              },
              "favicon": {
                "type": "string",
                "format": "uri",
                "example": "https://arxiv.org/favicon.ico",
                "description": "The URL of the favicon for the search result's domain."
              },
              "publishedDate": {
                "type": [
                  "string",
                  "null"
                ],
                "example": "2023-11-16T01:36:32.547Z",
                "description": "An estimate of the creation date, from parsing HTML content. Format is YYYY-MM-DD."
              }
            }
          },
          {
            "type": "object",
            "properties": {
              "text": {
                "type": "string",
                "example": "Abstract Large Language Models (LLMs) have recently demonstrated remarkable capabilities...",
                "description": "The full content text of the search result."
              },
              "extras": {
                "type": "object",
                "properties": {
                  "links": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    },
                    "example": [],
                    "description": "Array of links from the search result."
                  }
                },
                "description": "Results from extras."
              },
              "summary": {
                "type": "string",
                "example": "This overview paper on Large Language Models (LLMs) highlights key developments...",
                "description": "Summary of the webpage"
              },
              "entities": {
                "type": "array",
                "items": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "type",
                        "version",
                        "properties"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "https://exa.ai/library/company/exa",
                          "description": "Exa entity ID."
                        },
                        "type": {
                          "enum": [
                            "company"
                          ],
                          "type": "string",
                          "example": "company",
                          "description": "Entity type discriminator."
                        },
                        "version": {
                          "type": "integer",
                          "example": 1,
                          "description": "Schema version number."
                        },
                        "properties": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "Exa",
                              "description": "Company name."
                            },
                            "workforce": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "total": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ],
                                      "example": 500,
                                      "description": "Total number of employees."
                                    }
                                  },
                                  "description": "Company workforce information."
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "financials": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "fundingTotal": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ],
                                      "example": 500000000,
                                      "description": "Total funding raised in USD."
                                    },
                                    "revenueAnnual": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ],
                                      "example": 1000000000,
                                      "description": "Annual revenue in USD."
                                    },
                                    "fundingLatestRound": {
                                      "oneOf": [
                                        {
                                          "type": "object",
                                          "properties": {
                                            "date": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "example": "2023-06-15",
                                              "description": "Date of the funding round."
                                            },
                                            "name": {
                                              "type": [
                                                "string",
                                                "null"
                                              ],
                                              "example": "Series B",
                                              "description": "Name of the funding round (e.g., \"Series A\", \"Seed\")."
                                            },
                                            "amount": {
                                              "type": [
                                                "integer",
                                                "null"
                                              ],
                                              "example": 50000000,
                                              "description": "Amount raised in USD."
                                            }
                                          },
                                          "description": "Funding round information."
                                        },
                                        {
                                          "type": "null"
                                        }
                                      ]
                                    }
                                  },
                                  "description": "Company financial information."
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "webTraffic": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "visitsMonthly": {
                                      "type": [
                                        "integer",
                                        "null"
                                      ],
                                      "example": 266306714,
                                      "description": "Estimated monthly website visits."
                                    }
                                  },
                                  "description": "Company web traffic information."
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            },
                            "description": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "AI-powered search engine",
                              "description": "Brief description of the company."
                            },
                            "foundedYear": {
                              "type": [
                                "integer",
                                "null"
                              ],
                              "example": 2022,
                              "description": "Year the company was founded."
                            },
                            "headquarters": {
                              "oneOf": [
                                {
                                  "type": "object",
                                  "properties": {
                                    "city": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "example": "San Francisco",
                                      "description": "City name."
                                    },
                                    "address": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "example": "123 Main St",
                                      "description": "Street address."
                                    },
                                    "country": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "example": "United States",
                                      "description": "Full country name."
                                    },
                                    "postalCode": {
                                      "type": [
                                        "string",
                                        "null"
                                      ],
                                      "example": "94105",
                                      "description": "Postal/ZIP code."
                                    }
                                  },
                                  "description": "Company headquarters information."
                                },
                                {
                                  "type": "null"
                                }
                              ]
                            }
                          },
                          "description": "Structured properties for a company entity."
                        }
                      },
                      "description": "Structured entity data for a company."
                    },
                    {
                      "type": "object",
                      "required": [
                        "id",
                        "type",
                        "version",
                        "properties"
                      ],
                      "properties": {
                        "id": {
                          "type": "string",
                          "example": "https://exa.ai/library/person/john-doe",
                          "description": "Exa entity ID."
                        },
                        "type": {
                          "enum": [
                            "person"
                          ],
                          "type": "string",
                          "example": "person",
                          "description": "Entity type discriminator."
                        },
                        "version": {
                          "type": "integer",
                          "example": 1,
                          "description": "Schema version number."
                        },
                        "properties": {
                          "type": "object",
                          "properties": {
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "John Doe",
                              "description": "Person's full name."
                            },
                            "location": {
                              "type": [
                                "string",
                                "null"
                              ],
                              "example": "San Francisco, CA",
                              "description": "Person's location."
                            },
                            "workHistory": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "dates": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "to": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "example": "2023-06-30",
                                            "description": "End date (YYYY-MM-DD format)."
                                          },
                                          "from": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "example": "2020-01-15",
                                            "description": "Start date (YYYY-MM-DD format)."
                                          }
                                        },
                                        "description": "Date range for work history entries."
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "title": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "example": "Software Engineer",
                                    "description": "Job title."
                                  },
                                  "company": {
                                    "oneOf": [
                                      {
                                        "type": "object",
                                        "properties": {
                                          "id": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "example": "https://exa.ai/library/company/exa",
                                            "description": "Exa entity ID for the company."
                                          },
                                          "name": {
                                            "type": [
                                              "string",
                                              "null"
                                            ],
                                            "example": "Exa",
                                            "description": "Company name."
                                          }
                                        },
                                        "description": "Reference to a company in work history."
                                      },
                                      {
                                        "type": "null"
                                      }
                                    ]
                                  },
                                  "location": {
                                    "type": [
                                      "string",
                                      "null"
                                    ],
                                    "example": "San Francisco, CA",
                                    "description": "Work location."
                                  }
                                },
                                "description": "A single work history entry for a person."
                              },
                              "description": "List of work history entries."
                            }
                          },
                          "description": "Structured properties for a person entity."
                        }
                      },
                      "description": "Structured entity data for a person."
                    }
                  ],
                  "description": "Structured entity data for company or person search results. Only returned for category=company or category=people searches.",
                  "discriminator": {
                    "mapping": {
                      "person": "#/components/schemas/PersonEntity",
                      "company": "#/components/schemas/CompanyEntity"
                    },
                    "propertyName": "type"
                  }
                },
                "description": "Structured entity data for company or person search results. Only returned for category=company or category=people searches."
              },
              "subpages": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/ResultWithContent"
                },
                "example": [
                  {
                    "id": "https://arxiv.org/abs/2303.17580",
                    "url": "https://arxiv.org/pdf/2303.17580.pdf",
                    "text": "HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Face Date Published: 2023-05-25 Authors: Yongliang Shen, Microsoft Research Asia Kaitao Song, Microsoft Research Asia Xu Tan, Microsoft Research Asia Dongsheng Li, Microsoft Research Asia Weiming Lu, Microsoft Research Asia Yueting Zhuang, Microsoft Research Asia, yzhuang@zju.edu.cn Zhejiang University, Microsoft Research Asia Microsoft Research, Microsoft Research Asia Abstract Solving complicated AI tasks with different domains and modalities is a key step toward artificial general intelligence. While there are abundant AI models available for different domains and modalities, they cannot handle complicated AI tasks. Considering large language models (LLMs) have exhibited exceptional ability in language understanding, generation, interaction, and reasoning, we advocate that LLMs could act as a controller to manage existing AI models to solve complicated AI tasks and language could be a generic interface to empower t",
                    "title": "HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Face",
                    "author": "Yongliang  Shen, Microsoft Research Asia, Kaitao  Song, Microsoft Research Asia, Xu  Tan, Microsoft Research Asia, Dongsheng  Li, Microsoft Research Asia, Weiming  Lu, Microsoft Research Asia, Yueting  Zhuang, Microsoft Research Asia, yzhuang@zju.edu.cn, Zhejiang  University, Microsoft Research Asia, Microsoft  Research, Microsoft Research Asia",
                    "summary": "HuggingGPT is a framework using ChatGPT as a central controller to orchestrate various AI models from Hugging Face to solve complex tasks. ChatGPT plans the task, selects appropriate models based on their descriptions, executes subtasks, and summarizes the results. This approach addresses limitations of LLMs by allowing them to handle multimodal data (vision, speech) and coordinate multiple models for complex tasks, paving the way for more advanced AI systems.",
                    "highlights": [
                      "2) Recently, some researchers started to investigate the integration of using tools or models in LLMs  ."
                    ],
                    "publishedDate": "2023-11-16T01:36:20.486Z",
                    "highlightScores": [
                      0.32679107785224915
                    ]
                  }
                ],
                "description": "Array of subpages for the search result."
              },
              "highlights": {
                "type": "array",
                "items": {
                  "type": "string"
                },
                "example": [
                  "Such requirements have limited their adoption..."
                ],
                "description": "Array of highlights extracted from the search result content."
              },
              "highlightScores": {
                "type": "array",
                "items": {
                  "type": "number",
                  "format": "float"
                },
                "example": [
                  0.4600165784358978
                ],
                "description": "Array of cosine similarity scores for each highlighted"
              }
            }
          }
        ]
      },
      "description": "A list of search results containing title, URL, published date, and author."
    },
    "requestId": {
      "type": "string",
      "example": "b5947044c4b78efa9552a7c89b306d95",
      "description": "Unique identifier for the request"
    },
    "searchType": {
      "enum": [
        "neural",
        "deep",
        "deep-reasoning"
      ],
      "type": "string",
      "example": "auto",
      "description": "For auto searches, indicates which search type was selected."
    },
    "costDollars": {
      "type": "object",
      "properties": {
        "total": {
          "type": "number",
          "format": "float",
          "example": 0.005,
          "description": "Total dollar cost for your request"
        },
        "breakDown": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "search": {
                "type": "number",
                "format": "float",
                "example": 0.005,
                "description": "Cost of your search operations"
              },
              "contents": {
                "type": "number",
                "format": "float",
                "example": 0,
                "description": "Cost of your content operations"
              },
              "breakdown": {
                "type": "object",
                "properties": {
                  "deepSearch": {
                    "type": "number",
                    "format": "float",
                    "example": 0.015,
                    "description": "Cost of your deep search operations"
                  },
                  "contentText": {
                    "type": "number",
                    "format": "float",
                    "example": 0,
                    "description": "Cost of your text content retrieval"
                  },
                  "neuralSearch": {
                    "type": "number",
                    "format": "float",
                    "example": 0.005,
                    "description": "Cost of your neural search operations"
                  },
                  "contentSummary": {
                    "type": "number",
                    "format": "float",
                    "example": 0,
                    "description": "Cost of your summary generation"
                  },
                  "contentHighlight": {
                    "type": "number",
                    "format": "float",
                    "example": 0,
                    "description": "Cost of your highlight generation"
                  }
                }
              }
            }
          },
          "description": "Breakdown of costs by operation type"
        },
        "perPagePrices": {
          "type": "object",
          "properties": {
            "contentText": {
              "type": "number",
              "format": "float",
              "example": 0.001,
              "description": "Standard price per page for text content"
            },
            "contentSummary": {
              "type": "number",
              "format": "float",
              "example": 0.001,
              "description": "Standard price per page for summaries"
            },
            "contentHighlight": {
              "type": "number",
              "format": "float",
              "example": 0.001,
              "description": "Standard price per page for highlights"
            }
          },
          "description": "Standard price per page for different content operations"
        },
        "perRequestPrices": {
          "type": "object",
          "properties": {
            "deepSearch_1_25_results": {
              "type": "number",
              "format": "float",
              "example": 0.015,
              "description": "Standard price for deep search with 1-25 results"
            },
            "deepSearch_26_100_results": {
              "type": "number",
              "format": "float",
              "example": 0.075,
              "description": "Standard price for deep search with 26-100 results"
            },
            "neuralSearch_1_25_results": {
              "type": "number",
              "format": "float",
              "example": 0.005,
              "description": "Standard price for neural search with 1-25 results"
            },
            "neuralSearch_26_100_results": {
              "type": "number",
              "format": "float",
              "example": 0.025,
              "description": "Standard price for neural search with 26-100 results"
            },
            "neuralSearch_100_plus_results": {
              "type": "number",
              "format": "float",
              "example": 1,
              "description": "Standard price for neural search with 100+ results"
            }
          },
          "description": "Standard price per request for different operations"
        }
      }
    }
  }
}