Before you begin, make sure you request a Captide test API key.
Using the REST API
Authentication
All API requests require authentication using your API key in theX-API-Key header:
Example 1: Retrieve Company Information
Use the /companies/list endpoint to find companies in Captide and retrieve their companyid, which you can pass to other endpoints. Tickers are accepted with or without an exchange suffix (STO.AX or STO).
?query=Santos).
Example 2: Retrieve Company Documents
Use the /documents/list endpoint to search for documents bydocumentCategories, secFormTypes, fiscal period, date range, or by the filing company’s companyTickers or companyIds.
In the example below, we use the id of Santos to retrieve its latest interim-financial-report documents:
id: you use it to retrieve the document’s files.
id to the /documents/{id} endpoint to get links to the files:
originalFileUrl links to the original document and markdownFileUrl to its Markdown version, which is optimized for downstream analysis and LLM ingestion. For documents processed by Captide’s OCR pipeline, layoutJsonFileUrl links to the document’s layout as JSON: each page’s text, tables and figures, with their position on the page. It’s null for other documents.
File links are signed and expire one hour after the request (the
se parameter). Request the document again for fresh links instead of storing them.Example 3: Prompt-Based Chunk Retrieval
With Captide, you can create RAG-based applications and tools without the need to collect, preprocess, chunk, or store document excerpts yourself. Send a natural language query to the /rag/chunks endpoint and you’ll receive the relevant document excerpts from our database.documentIds, comma-separated.
Example 4: AI Agent Response
Captide answers questions grounded in corporate disclosures, with every statement traceable to its source. Send the query as JSON to the /rag/agent-response endpoint:content field, in Markdown, with citations such as [#43c00004] embedded in the text. Every citation is a key in sourceMap, which holds the chunk it came from and the exact excerpt that supports it. When the same chunk supports several statements, later citations carry a suffix (#43c00004:2), each with its own entry and excerpt.
documentMetadata.id, pageNumber and excerpt from a sourceMap entry to open the source in Captide’s Document Auditing SDK and highlight the passage (see below).
Example 5: Streaming AI Agent Response
The /rag/agent-response-stream endpoint streams the agent’s progress and answer as Server-Sent Events (SSE). Use it in chat interfaces, where you want to show what the agent is doing and display the answer as it is written.data: line holding a JSON object. Its type is one of:
Using the Document Auditing JavaScript SDK
Installation
Install the Captide SDK in your project:Integration Example
The viewer loads documents through afetchDocumentFn you provide. Point it at your own backend, which calls GET /api/v2/documents/{id} with your API key (see the Backend Integration guide), so the key never reaches the browser.
Next Steps
- Explore the API Reference for detailed documentation.
- Obtain a license for production or commercial use: Contact our team.