Skip to content

Developers

News sentiment, market, company and alternative data over one REST API, with SDKs, an MCP connector and no-code feeds.

Get an API key API reference

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.

curl "https://api.infotrie.com/api/catalog/v1/datasets"
const res = await fetch("https://api.infotrie.com/api/catalog/v1/datasets");
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());
import requests

res = requests.get(
    "https://api.infotrie.com/api/catalog/v1/datasets",
    timeout=30,
)
res.raise_for_status()
print(res.json())

2. Find a company

GET /api/companies/search — Search listings by name, ticker or ISIN. From here on, every call carries your API key.

curl -H "X-API-Key: $INFOTRIE_API_KEY" \
  "https://api.infotrie.com/api/companies/search?q=apple&limit=5"
const res = await fetch("https://api.infotrie.com/api/companies/search?q=apple&limit=5", {
  headers: { "X-API-Key": process.env.INFOTRIE_API_KEY },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());
import os
import requests

res = requests.get(
    "https://api.infotrie.com/api/companies/search",
    params={"q": "apple", "limit": "5"},
    headers={"X-API-Key": os.environ["INFOTRIE_API_KEY"]},
    timeout=30,
)
res.raise_for_status()
print(res.json())

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.

curl -H "X-API-Key: $INFOTRIE_API_KEY" \
  "https://api.infotrie.com/api/news/sentiment_history?company=AAPL&start_date=2026-10-01&end_date=2026-10-31"
const res = await fetch("https://api.infotrie.com/api/news/sentiment_history?company=AAPL&start_date=2026-10-01&end_date=2026-10-31", {
  headers: { "X-API-Key": process.env.INFOTRIE_API_KEY },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());
import os
import requests

res = requests.get(
    "https://api.infotrie.com/api/news/sentiment_history",
    params={"company": "AAPL", "start_date": "2026-10-01", "end_date": "2026-10-31"},
    headers={"X-API-Key": os.environ["INFOTRIE_API_KEY"]},
    timeout=30,
)
res.raise_for_status()
print(res.json())

Authentication and limits

Base URL
https://api.infotrie.com
API key
Send it in the X-API-Key header 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 answers 429 with Retry-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_cursor back as cursor until 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.

  • BI connectors


    The datasets of your plan in Power BI, Excel, Tableau, Qlik, Google Sheets and Looker Studio, over an OData and CSV feed.

  • Excel add-in


    INFOTRIE functions in Excel: sentiment, headlines, indices, forecasts, nowcasts and datasets.

  • Forecasts API


    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


    Try your first API

  • News and Social Media


    News and Social Media Feeds

  • Financial Data


    End of Day Data · Fundamental Data · Company Profiles · Economic Events · Macro Economic Indicators · Corporate Actions

  • Alternative Data


    e-commerce · Job Postings from Job Boards · Job Postings from Company Pages · SEC and Regulatory Fillings · Sentiment Analysis

  • Static Data


    Classifications · Commodity Data · Forex Data · Exchange Data · Topics Data

Further reading

  • API reference


    Every published endpoint, its parameters and responses, with a request builder.

  • OpenAPI document


    OpenAPI 3.1 — point your own client generator at it.

  • Getting started


    Sign in, create a key, make your first call, understand quotas and limits.

  • Help centre


    The console, custom scrapers and billing, step by step.

  • Contact


    Data licensing, higher limits, a custom scraper or anything the docs leave open.