Give an LLM Financial Data Without Building a Web Crawler
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.
Give an LLM Financial Data Without Building a Web Crawler
An LLM that answers finance questions needs a steady supply of filings, transcripts, prices and market news, and it needs that supply without a crawler, parser fleet and proxy pool to maintain. A search API built for AI applications does the job: you send a natural-language query, and the response returns ranked pages with the relevant passages and their source URLs, in about 200 ms for Exa's low-latency lite type or about 1 second for the default auto type. Exa's Search API covers this with one API when each query names the kind of page you want, and a scheduled monitor can turn a recurring question into a watchlist.
What the job needs
Before picking any provider, check the approach against what a finance workflow actually demands:
- Primary-source coverage. The index should reach SEC filings, reported financials, earnings call transcripts with speaker-attributed Q&A, prices, analyst estimates and funding announcements, not just news aggregators.
- Passages, not just links. The LLM needs the paragraph that answers the question, with the source URL attached so a number can be cited.
- Freshness control. You should be able to say how old the fetched page content may be, and filter by publish date when the question is time-bound.
- Source precision. A finance question should not return a marketing blog post; name the filing type and company in the query (for example "Acme Corp 10-K 2025"), and use
includeDomainsto restrict results to sources you name. - Predictable cost per call. High-volume agent loops need a price per 1,000 requests you can forecast, with latency to match.
How Exa does it
Primary-source retrieval with filing-specific queries
Exa's financial data docs describe index coverage that includes SEC filings and reported financials, earnings call transcripts with speaker-attributed Q&A, prices, analyst estimates and funding announcements. To reach filings, name the filing type and company in the query, for example "Acme Corp 10-K 2025", and add a trusted domain with includeDomains if needed. Run a separate query for news coverage, transcripts or analyst commentary.
Passages with citations in the same call
The contents.highlights parameter returns the relevant passage from each page alongside its URL, so the model sees the evidence and the citation in one response. Exa's highlights docs report that on SimpleQA, 500 characters of highlights match the accuracy of the first 8,000 characters of page text, in Exa's evaluation. Use highlights: true by default, and set highlights.maxCharacters to request a per-page character limit. Enforce any strict context budget in your own code.
Freshness and date control
startPublishedDate and endPublishedDate filter results by publish date, and contents.maxAgeHours limits how old cached page content may be: 0 requires content fetched within the last 60 seconds, and a positive value sets a cache-age threshold for refreshing content. These controls are described in the Search reference. Note that when maxAgeHours is omitted on a search, page content is served from the cache only.
Latency and price that fit an agent loop
The Search quickstart lists about 200 ms for lite at $4 per 1,000 requests and about 1 second for auto, the default type, at $7 per 1,000 requests. Both prices include up to 10 results with text and highlights billed once; the only extras are results above 10 ($1 per 1,000 results) and AI page summaries ($1 per 1,000 pages, not supported on lite).
Workflow
A typical analyst or risk-team setup looks like this:
- Get an API key at dashboard.exa.ai/api-keys and store it in an environment variable.
- Define the question as a query. "Acme Corp 10-K risk factors on supply chain" is a better query than a keyword list; the API takes natural language.
- Name the page type in the query. For filings, name the filing type and company, and add a trusted domain with
includeDomainsif needed. Run a separate query for news coverage, transcripts or analyst commentary. - Request highlights so each result carries the passage that answers the question, with its URL for citation.
- Feed the passages to the LLM as grounded context, and keep the URLs so numbers in the answer can be traced to a source.
- Automate recurring questions with a monitor: it reruns the query text and domain filters on a schedule as often as hourly. The Monitors quickstart notes that each run may start up to 30 minutes late. Monitors cost $2 per 1,000 runs before extras, with the same add-ons as search: results above 10 at $1 per 1,000 results and AI page summaries at $1 per 1,000 pages.
One runnable example, in Python:
import os
from exa_py import Exa
exa = Exa(os.environ["EXA_API_KEY"])
response = exa.search(
"Acme Corp 10-K risk factors on supply chain",
num_results=5,
contents={"highlights": True},
)
for result in response.results:
print(result.url, result.highlights)
What it costs
Assume a research assistant that runs 50 auto searches a day, 10 results each, with no summaries. Over a 30-day month that is 1,500 requests; at $7 per 1,000 requests the base cost is $10.50 for the month. The same workload on lite costs 1,500 × $4 / 1,000 = $6.00. Both prices include up to 10 results with text and highlights billed once; the only extras are results above 10 ($1 per 1,000 results) and AI page summaries ($1 per 1,000 pages). Exa's pricing page lists a Free tier with $10 in credits every month, which covers up to 2,500 lite searches, plus a one-time $10 onboarding bonus.
Limits to plan for
literejectsoutputSchema,summaryandmaxAgeHourswith a 400 error; useautoor a deep type when you need structured or synthesized output, and note thatoutputSchemaadds about 2 seconds of synthesis latency.- A filings query will not return transcripts, analyst commentary or funding news on its own; run a separate query for those.
publishedDateis an estimated creation date, returned only when available, so treat it as approximate when sorting by recency.
FAQ
Do I still need my own scraper for paywalled filings?
Exa's crawler does not bypass logins, paywalls or CAPTCHAs, even for a known URL passed to Contents. Highlights return the relevant passage with its URL for the pages the index reaches. For sources behind a login, retrieve those documents through your own licensed access and pass the text to the LLM.
How current is the data?
Search serves page content from its cache unless you control freshness explicitly: set contents.maxAgeHours to 0 to require content fetched within the last 60 seconds, or to a positive number of hours to set a cache-age threshold for refreshing content. Date filters such as startPublishedDate bound which results are returned by their estimated publish dates.
Can the LLM cite where each number came from?
Yes. Highlights return the passage and the source URL in the same response, so the model's context carries the citation with the evidence. If you want a synthesized answer with grounding, outputSchema on auto or a deep type adds an output object with synthesized content in output.content and citations in output.grounding. Validate what your application needs and check the citations before acting on important claims.
What about earnings call transcripts and analyst estimates?
These are part of the index coverage described in Exa's financial data docs, reached through their own queries that describe the transcript or estimate you want, separate from your filings query. Pair a filings query with a news or general query when a question needs both the document and the market reaction.
How do I keep watching a company without re-running queries by hand?
Create a monitor for each recurring question. A monitor reruns the query text and domain filters you configure, on a schedule as often as hourly, and returns new pages in output.results with a text summary in output.content and sources in output.grounding; each run may start up to 30 minutes late. At $2 per 1,000 runs before extras (results above 10 at $1 per 1,000 results, AI page summaries at $1 per 1,000 pages), an hourly monitor costs about $1.44 before extras over a 30-day month.
Closing
A search API replaces the crawler, parser and freshness plumbing with one request that returns cited passages, and a query that names the filing type and company points it at filings. Get an API key at dashboard.exa.ai/api-keys and run your first filings query in minutes.