Skip to content
veripoint
AI FINANCIAL ANALYSIS API

Ask a financial question. Stream back the data and the analysis.

Send one self-contained question in plain language. The AI Financial Research API resolves the entity, selects the required company-data tools and streams either a written answer with its underlying data or the raw tool results alone.

Built for server-side integration. Token authentication and product entitlement required.

LIVE STREAMtext/event-stream
POST /v2/ai/query

{
  "query": "Find VICAT in FR and show
            its financials",
  "mode": "ai"
}

event: status
data: {"message":"Looking up company…"}

event: tool_call
data: {"tool":"get_company_by_identifiers"}

event: tool_result
data: {"tool":"…","data":{"id":101992009}}

event: text
data: {"content":"VICAT SA…"}

event: done
data: {"tools_used":["…"]}

Illustrative event sequence · abridged

Natural-language requestsLive Server-Sent EventsAI and data-only modes
PRODUCT OVERVIEW

A research layer over company financial data.

The AI API is for questions that do not map neatly to one preselected endpoint or one fixed response screen.

01

Plans the retrieval path

The service reads the question, resolves the company and decides which available company-data tools are needed to answer it.

Include the company and country in each request; the endpoint does not retain conversation history.
02

Streams work as it happens

Status, tool calls, tool results and answer fragments arrive over Server-Sent Events instead of appearing only after the full request completes.

A result is complete only when the stream reaches a done event.
03

Choose analysis or data

Use mode ai for a human-readable answer plus underlying results, or mode data when your application only needs the collected tool output.

Both modes use an SSE transport; data mode is not a single JSON response.
THE DIFFERENCE

Known retrieval or planned research.

The AI API is not a newer version of the deterministic API. They solve different engineering problems and can sit in the same architecture.

DETERMINISTIC

You know the entity and the dataset.

Your application chooses the financial endpoint and receives the structured records.

View the financial data API
AI RESEARCH

You know the question, not the path.

The service resolves the entity, selects the tools and streams the result.

View the AI research API
DecisionDeterministic Financial APIAI Financial Research API
Best starting pointKnown company and known datasetA self-contained business question
ExecutionYour code calls one explicit endpointThe service selects and can chain data tools
TransportA structured JSON responseA live Server-Sent Events stream
OutputFinancial fields, periods and ratiosai: answer plus data · data: tool results only
ConsistencyFixed route and response contract; source records can updateRetrieved facts remain source-backed; tool path and prose can vary by question
Best workloadETL, models, dashboards, scheduled retrievalResearch assistants, investigations, unfamiliar questions
Main trade-offYour team defines the workflow and interpretationMore flexible input, but more streaming and review logic

Simple rule: use deterministic endpoints for repeatable system workloads; use the AI API when a person or agent starts with a question whose retrieval path is not known in advance.

HOW IT WORKS

From question to completed research stream.

The API plans the retrieval, but your application still controls streaming, validation, persistence and how the result is presented.

  1. 01

    Write one complete question

    Name the company, country and financial task in the query. Each call is stateless, so do not rely on a previous message to supply missing context.

  2. 02

    Choose the output mode

    Select ai when you need a ready-to-present explanation. Select data when you want the raw tool results and will create the calculations or user experience yourself.

  3. 03

    Consume the event stream

    Process complete SSE frames as they arrive: status, tool_call, tool_result, generating, text, suggested_actions and finally done.

  4. 04

    Validate before presenting

    Treat error events or a closed connection without done as incomplete. Store the relevant tool results, company identifiers and source metadata alongside any generated explanation.

WHERE IT FITS

Use it as the research and reasoning layer.

01

Embedded financial research

Add a question box to a product so users can ask for company financials, trends or comparisons without choosing endpoints.

Best when the user starts with a question rather than a schema.
02

Analyst and due-diligence workflows

Automate the first research pass across entity resolution and available financial records while keeping the retrieved data visible for review.

Best for guided investigation, not unattended final decisions.
03

Exception handling in data operations

Route ambiguous companies or unfamiliar research requests to the AI layer while keeping routine ingestion on deterministic endpoints.

Best as a complement to a structured data pipeline.
USE BOTH

Separate your system workload from your research workload.

Keep routine ingestion, calculations and dashboards on deterministic endpoints. Use the AI Financial Research API for open-ended questions, ambiguous entities and requests that need several data tools. This protects schema control without forcing users to understand the endpoint catalogue.

See the deterministic data layer
SYSTEM WORKLOADKnown entities → deterministic JSON
RESEARCH WORKLOADOpen question → planned tool calls
BEFORE PRODUCTION

What engineering and procurement should confirm.

The product choice affects transport, validation, cost controls and the evidence you need to retain.

  • Use a POST-capable streaming client. Browser EventSource cannot send this request with the required authorization header.
  • Network chunks are not SSE frames. Buffer and parse complete frames before decoding their JSON payloads.
  • The endpoint is stateless and accepts one self-contained question per request, up to the documented limit.
  • AI-query usage and the underlying data-product usage have separate limits; confirm entitlements before production rollout.
PRODUCT QUESTIONS

Before you choose the API.

Direct answers for product, data and engineering review.

01What does the AI Financial Research API do?

It accepts a natural-language company research question, selects the available data tools needed for the task and streams the retrieved results. In ai mode it also streams a written answer; in data mode it returns the collected tool results without prose.

02How is it different from a standard financial data API?

A standard deterministic API requires your application to know the endpoint and parameters in advance. The AI API starts from a question and plans which data tools to call. That makes it useful for open-ended research, but less suitable for fixed-schema bulk ingestion.

03Does the API remember a conversation?

No. It is stateless. Send one self-contained question in each request and include the company, country and task needed to answer it.

04What is the difference between ai mode and data mode?

ai mode streams a written answer plus the underlying tool data. data mode skips the prose and places the raw tool results in the final done event. Data mode still arrives as Server-Sent Events.

05Why does the response use Server-Sent Events?

The service may need to resolve an entity and run several data operations before generating an answer. SSE lets your product show progress and process tool results as they arrive instead of waiting for one large final response.

06Is the financial data itself AI-generated?

The AI layer selects and orchestrates data tools. The financial records come from the underlying company-data services. Generated interpretation should remain separate from the retrieved values, and both should be retained when the answer needs to be reviewed.

07Can I receive structured data without an AI-written answer?

Yes. Send mode data and read the data array in the terminal done event. This removes the written conclusion, but your client must still parse the SSE stream.

08Is it suitable for high-volume batch ingestion?

Use the deterministic financial API for routine workloads with known entities and fields. The AI API is a better fit for analyst questions, ambiguous inputs and multi-step research where the path is not known in advance.

09How do I know when a streamed answer is complete?

Accept the result only after a done event. An error event, a failed tool result or a connection that closes before done must be handled explicitly rather than presented as a complete answer.

10How should evidence be presented with the answer?

Keep the tool results, company identifiers, reporting periods, currency, account scope and returned source metadata beside the written explanation. Do not store only the prose if the result must later be audited or reproduced.

BUILD WITH VERIPOINT

Choose the interface around the workload.

Tell us the companies, volume, output and usage rights your product requires.