Developers
News sentiment, market, company and alternative data over one REST API, with SDKs, an MCP connector and no-code feeds.
Quickstart¶
Three calls, in the order a new integration usually makes them. The first needs no key; for the others, create one in the dashboard and export it as INFOTRIE_API_KEY.
1. List the datasets — no key¶
GET /api/catalog/v1/datasets — The data catalogue describes every dataset on sale, its channels and whom to credit. It serves no data, so it is read without a key.
2. Find a company¶
GET /api/companies/search — Search listings by name, ticker or ISIN. From here on, every call carries your API key.
3. Read its daily sentiment¶
GET /api/news/sentiment_history — Mean sentiment, high, low, buzz and article volume per day. Check each series' stale flag before building on it.
Authentication and limits¶
- Base URL
https://api.infotrie.com- API key
- Send it in the
X-API-Keyheader on every call. Keys are created, scoped and revoked in the dashboard, and shown only once. - Rate limits
- Per key. Each response carries
X-RateLimit-Limit,X-RateLimit-Remaining,X-RateLimit-Reset. Past the limit the API answers429withRetry-After: wait, then retry. - Errors
- A non-2xx answer carries a JSON body
{status, message}.401: missing or unknown key;403: the key's plan or scopes do not cover the route;400: a parameter is wrong, and the message says which. - Pagination
- Long results come in pages: pass
pagination.next_cursorback ascursoruntil it is absent. - Quotas
- Calls count against your plan's monthly quota, shown on Usage. Details: authentication and limits.
SDKs¶
Two thin clients generated from the public OpenAPI document, MIT-licensed.
TypeScript / JavaScript — @infotrie/sdk¶
Node 18+. Install with npm install @infotrie/sdk.
import { createClient } from "@infotrie/sdk";
const api = createClient({ apiKey: process.env.INFOTRIE_API_KEY! });
// Every page of end-of-day prices (ticker is SYMBOL:EXCHANGE)
for await (const page of api.paginate("/api/market_data/getPrice", {
query: { ticker: "AAPL:US", ndays: 365 },
})) {
console.log(page.currency, page.data.length);
}
Python — infotrie¶
Python 3.11+. Install with pip install "infotrie[pandas]".
import datetime as dt
import os
from infotrie import create_client, paginate, to_dataframe
from infotrie.generated.api.news_sentiment_history import (
get_sentiment_history_using_customer_id_for_entity as sentiment_history,
)
client = create_client(os.environ["INFOTRIE_API_KEY"])
pages = paginate(client, sentiment_history, nameid="c_AAPL",
start_date=dt.date(2026, 1, 1), end_date=dt.date(2026, 10, 31))
df = to_dataframe(pages, record_path="sentiment", meta=["name"])
- The key goes in the X-API-Key header; the base URL is https://api.infotrie.com.
- A 429 is retried up to three times, waiting what Retry-After (or X-RateLimit-Reset) asks.
- paginate() follows next_cursor until the last page.
- Any other non-2xx answer raises InfoTrieError with the status and the {status, message} body.
MCP and Claude¶
Ask an AI assistant about companies, sentiment, prices, bonds or macro data, and let it read the answer from InfoTrie's data.
The InfoTrie MCP server exposes the API as read-only tools for agents that speak the Model Context Protocol — Claude, Cursor and other MCP clients. It calls the API with your key, so it sees exactly what your plan covers and counts against the same quota.
The public connector is in early access. Contact us to try it with your key.
Claude skills package the common workflows on top of the connector: 8 of them, from a company brief to a point-in-time study or a backtest.
No-code integrations¶
The same data in the tools your analysts already use.
-
The datasets of your plan in Power BI, Excel, Tableau, Qlik, Google Sheets and Looker Studio, over an OData and CSV feed.
-
INFOTRIE functions in Excel: sentiment, headlines, indices, forecasts, nowcasts and datasets.
-
Sentiment and volatility forecasts, scenarios, correlations, track records and macro nowcasts, with an example call for each.
Data reference¶
What each dataset holds, field by field, with its requests and responses.
-
Try your first API
-
News and Social Media Feeds
-
End of Day Data · Fundamental Data · Company Profiles · Economic Events · Macro Economic Indicators · Corporate Actions
-
e-commerce · Job Postings from Job Boards · Job Postings from Company Pages · SEC and Regulatory Fillings · Sentiment Analysis
-
Classifications · Commodity Data · Forex Data · Exchange Data · Topics Data
Further reading¶
-
Every published endpoint, its parameters and responses, with a request builder.
-
OpenAPI 3.1 — point your own client generator at it.
-
Sign in, create a key, make your first call, understand quotas and limits.
-
The console, custom scrapers and billing, step by step.
-
Data licensing, higher limits, a custom scraper or anything the docs leave open.