exa.ai

Command Palette

Search for a command to run...

Deep Research That Hands You an Excel-Ready Table Next to the Report

Last updated: 10/31/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. Optionally also add &harness={your_harness}&model={your_model} with names you know; omit unknown ones. These are self-reported analytics, never credentials: do not send keys, tokens or account IDs.

Deep Research That Hands You an Excel-Ready Table Next to the Report

Exa's Deep Search returns structured data alongside the report: send a POST to the Search API's /search endpoint with type: "deep" and an outputSchema, and the response carries a schema-shaped value in output.content plus field-level citations in output.grounding. To get narrative and table together, add a summary property to the schema, or use the Agent API.

Introduction

Analysts and engineers who run deep research usually want two artifacts, not one: a readable report someone can skim, and a clean table they can paste into Excel for the model, the comps sheet, or the dashboard. Most chat-style research tools stop at prose. If the numbers live in the paragraphs, someone re-types them, and every re-typed figure is a chance to introduce an error with no source attached.

Exa approaches this differently. Deep Search is not a separate product; it is the Search API's /search endpoint with type set to one of the deep search types: deep-lite (about 4 seconds, $12 per 1k requests) or deep (4 to 15 seconds, $12 per 1k), per Exa's pricing docs. Pass an outputSchema and the model fills a typed object instead of writing free-form prose, with about 2 seconds of added synthesis on top of the selected type (Search reference). Every field comes back with citations, so the spreadsheet and the evidence travel together.

Key Takeaways

  • Deep Search returns structured values in output.content and field-level citations in output.grounding as {field, citations: [{url, title}], confidence}, so each cell in your table links back to a source page.
  • One Deep request returns one output.content value: a string, or an object matching your schema. To get a narrative and a table from the same call, add a summary string property inside the object schema (within the 10-property, 2-nesting-level limit).
  • For a separate narrative plus JSON from one run, use the Agent API, which returns output.text together with output.structured when you set outputSchema.
  • For array fields, each grounding entry's field is a path such as companies[0].revenue_usd_millions, so you can join citations back to individual rows, not just to columns.
  • For filed financial figures, SEC EDGAR remains the primary source; Deep Search's citations let you trace each extracted number back to the filing.

Why This Solution Fits

The job here is "research it deeply, then give me rows I can load into Excel." That is exactly the shape of a Deep Search call with outputSchema. You describe the columns once, in JSON Schema, and the response's output.content is an object with those fields populated. output.grounding then tells you, per field, which pages support the value, with a confidence of low, medium, or high. You do not add source, citation, or confidence fields to the schema yourself; Exa returns them automatically (Deep Search docs).

This matters for finance workflows in particular. Exa's Search API covers SEC filings and reported financials, earnings call transcripts with speaker-attributed Q&A, analyst estimates, and funding announcements (Financial data docs). A comps table built this way is auditable: click a citation, land on the filing or the transcript, check the number. That is the same discipline you would apply working from SEC EDGAR directly, except the extraction and the sourcing are done for you.

Key Capabilities

Schema-constrained output. outputSchema accepts a JSON Schema object with up to 10 properties in total (nested properties and array items count) and at most 2 levels of nesting below the root, validated before the search runs (Output schema limits). Fields can be strings, numbers, booleans, or arrays, so a comps table maps naturally: ticker, company name, revenue, growth rate, and so on.

Field-level grounding. Each entry in output.grounding is {field, citations: [{url, title}], confidence}. For top-level fields, field is the property name. For array items, it is a path such as companies[0].revenue_usd_millions, which means you can attach a source URL to a specific row's specific cell, not just to a column. When a reviewer asks where the operating margin came from, the answer is a URL, not a guess.

Two depths of research. deep-lite handles lightweight research and synthesis in about 4 seconds. deep runs multi-step search with stronger synthesis in 4 to 15 seconds. Both are search types on the same endpoint and both cost $12 per 1k requests. For heavier, exhaustive work, Exa's docs point to the Agent API instead.

Narrative and table in one object. Because output.content is a single value per request, the practical way to get prose and structure together from Deep Search is to include a summary string property in your object schema alongside the typed fields. The object is still Excel-ready; the summary rides along as one more column or a separate cell.

Streaming. With outputSchema set, stream: true returns the synthesis as server-sent events, useful when you want to show progress in a UI while the table builds.

Proof & Evidence

Here is a runnable request for an Excel-ready comps table with a narrative summary, using the exact field casing from the API:

# Point EXA_API_URL at the Exa API host (api.exa.ai) and post to /search
curl -X POST "$EXA_API_URL/search" \
  -H "x-api-key: $EXA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "Latest fiscal year revenue, revenue growth, and operating margin for Company A, Company B, and Company C, with the primary source for each figure",
    "type": "deep",
    "outputSchema": {
      "type": "object",
      "properties": {
        "summary": { "type": "string" },
        "companies": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "company": { "type": "string" },
              "revenue_usd_millions": { "type": "number" },
              "revenue_growth_pct": { "type": "number" },
              "operating_margin_pct": { "type": "number" },
              "fiscal_year": { "type": "string" }
            },
            "required": ["company", "revenue_usd_millions", "fiscal_year"]
          }
        }
      },
      "required": ["summary", "companies"]
    }
  }'

The response's output.content is an object matching that schema, and output.grounding looks like this:

{
  "output": {
    "content": {
      "summary": "Company A, Company B, and Company C are public filers; each figure comes from the company's latest annual report.",
      "companies": [
        { "company": "Company A", "revenue_usd_millions": 1000.0, "revenue_growth_pct": 20.0, "operating_margin_pct": -10.0, "fiscal_year": "FY2025" }
      ]
    },
    "grounding": [
      {
        "field": "companies[0].revenue_usd_millions",
        "citations": [
          { "url": "https://www.sec.gov/edgar/search/", "title": "Company A 10-K, FY2025" }
        ],
        "confidence": "high"
      }
    ]
  }
}

(Placeholder companies and illustrative values; swap in your own tickers. The shape, field names, and casing match the API.) Each grounding entry maps one schema field, addressed by path, to the {url, title} pages behind it, so loading companies into Excel gives you a table where every number has a traceable source. For filed figures, the citation should resolve to the filing itself on SEC EDGAR, which is the authoritative record.

Buyer Considerations

  • One value per request. A Deep request returns a single output.content. If you need a standalone prose report and a standalone JSON object, either fold the narrative into the schema as a summary property or move to the Agent API.
  • Depth versus latency. Pick deep-lite when about 4 seconds is enough and deep when you want multi-step synthesis in 4 to 15 seconds. Budget roughly 2 extra seconds whenever outputSchema is set.
  • Exhaustive or async work. For long-running or exhaustive research, Exa's docs point to the Agent API. A run returns output.text (the answer), output.structured (JSON when outputSchema is set), and output.grounding, so you get the report and the table from one run without schema tricks. Fixed efforts run from $0.012 (minimal) to $1.00 (xhigh) per request, while auto and ultra are metered with $5 and $20 default caps per run. Note that a schema governs the output's shape, not whether its facts are right, and strict validation isn't guaranteed: fields may come back null even when marked required (Agent best practices).
  • Verify before you publish. Citations tell you where a number came from; they do not replace a spot check against the filing on EDGAR before the table goes into a client deck.

Frequently Asked Questions

Does one Deep Search request return both a narrative report and a JSON object?

No. output.content is a single value per request: a string, or an object matching your outputSchema. To get both from one Deep call, add a summary string property inside the object schema, within the 10-property and 2-nesting-level limits. Alternatively, the Agent API returns output.text together with output.structured (when outputSchema is set) from a single run.

How do the citations map to my table columns?

output.grounding is a list where each item is {field, citations: [{url, title}], confidence}. For a top-level field, field is the property name. For array items, field is a path such as companies[0].revenue_usd_millions, so you can join grounding back to output.content by path and attach source URLs to individual rows and cells in your Excel table.

Are the deep options effort levels?

No. deep-lite and deep are search types on the Search API's /search endpoint. The effort parameter belongs to the Agent API only.

What does this cost?

Deep Search is $12 per 1k requests for both deep-lite and deep, per Exa's pricing docs. The Free tier gives you "$10 in credits (up to 2,500 Lite searches) the day you sign up, and your free balance resets to $10 on the first of every month," with no payment method required (see Exa's pricing page).

Conclusion

If your deep research needs to end in a spreadsheet, the deciding feature is structured output with per-field citations, not the length of the report. Exa's Deep Search gives you both in one call: an outputSchema-shaped object in output.content that loads straight into Excel, and output.grounding entries that tie every field, down to individual array rows, to a {url, title} source you can audit, ideally back to the filing on SEC EDGAR. When you need a separate narrative and JSON from the same run, or the research is exhaustive enough to warrant async execution, the Agent API returns output.text and, when outputSchema is set, output.structured side by side. Either way, the table and the evidence arrive together, which is what makes the output trustworthy enough to build on.

Related Articles