Docs

Install the MCP server in Claude Code, Cursor or Claude Desktop, then call 519 endpoints across 127 sources. REST reference, credits, caching and errors.

Connect your agent over MCP

Remote MCP server: https://data.openkrill.app/mcp with your key in the x-api-key header.

Claude Code · Run in a terminal
claude mcp add --transport http krilldata \
  https://data.openkrill.app/mcp \
  --header "x-api-key: YOUR_API_KEY"
Cursor · Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "krilldata": {
      "url": "https://data.openkrill.app/mcp",
      "headers": {
        "x-api-key": "YOUR_API_KEY"
      }
    }
  }
}
Claude Desktop · Add to claude_desktop_config.json
{
  "mcpServers": {
    "krilldata": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-remote",
        "https://data.openkrill.app/mcp",
        "--header",
        "x-api-key:${API_KEY}"
      ],
      "env": {
        "API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

REST

Base URL
https://data.openkrill.app/v1
Auth
Send the key as x-api-key or Authorization: Bearer. Never in a query string.
Response
Every call returns one envelope. data.resources[] holds items with the same author, engagement, metadata and extras keys on every platform.
Credits and cache
A live call costs 1 or 5 credits. A repeat inside the cache window costs 0 and says cached: true. Send Cache-Control: no-cache to force a fresh read.
Retries
Add an Idempotency-Key header and a retry can never charge twice.
Response envelope
{
  "success": true,
  "platform": "…",
  "endpoint": "…",
  "data": { "resources": [ { "author": {…}, "engagement": {…}, "metadata": {…}, "extras": {…} } ] },
  "credits_used": 1,
  "credits_remaining": 99,
  "request_id": "…",
  "cached": false
}

Reference

TikTok

YouTube

X

Facebook

LinkedIn

Reddit

Threads

Pinterest

Snapchat

Bluesky

Mastodon

Lemmy

Discourse

Stack Exchange

Gab

Telegram

Twitch

Kick

Spotify

Apple Music

Naver

Product Hunt

GitHub

Hacker News

Amazon

Target

AliExpress

Sephora

Gumtree

Apple App Store

Google Play

Google News

Google Trends

Web

Finance

Polymarket

US Congress Trades

Economy

Jobs

CoinGecko

Open Library

Dev.to

Wikipedia

Linkbio

Linkme

Apple App Store (legacy)

Google Play (legacy)

YouTube Shorts

X Communities

Bluesky Feeds

Search

Substack

Medium

Dailymotion

Flickr

Blogger

Hugging Face

Deezer

Codeberg

npm

PyPI

Docker Hub

crates.io

RubyGems

NuGet

Packagist

GitLab

Maven Central

Open VSX

Go Modules

arXiv

Crossref

Steam

TVmaze

Lobsters

AniList

PeerTube

Shikimori

Zenodo

MusicBrainz

Open Food Facts

Internet Archive

Gutendex

PubMed

DataCite

GenBank

NCBI Protein

NCBI Taxonomy

Open-Meteo

OpenStreetMap

Wikidata

GBIF

Europe PMC

Vimeo

Odysee

Radio Browser

USGS Earthquakes

UniProt

ClinicalTrials.gov

NVD

openFDA

iNaturalist

Cleveland Museum of Art

Victoria and Albert Museum

Audius

Ensembl

RCSB PDB

ChEMBL

LRCLIB

figshare

Binance

Spaceflight News

NASA Image and Video Library

PubChem

OEIS

Free Dictionary

Nager.Date Holidays

Datamuse

OSV

ESPN

Bitbucket

pub.dev

OpenRouter

Research Organization Registry

ORCID

Hex

FIRST EPSS

bioRxiv

DefiLlama

mempool.space

PokeAPI

Wikimedia Commons

Live playground

Calls the real gateway with your key from this browser. Cache hits cost 0 credits.

response1 cr
// run a call to see the envelope

Get a key

Sign up with your email for free credits, no card. Every call needs the key in the x-api-key header, over MCP and REST alike.

Errors

MISSING_API_KEY [401]
Missing API key. Send it in the x-api-key header or as 'Authorization: Bearer <your key>'. Do not retry without a change.
INVALID_API_KEY [401]
That API key is not valid. Check it for typos or create a new one. Do not retry without a change.
ENDPOINT_NOT_FOUND [404]
No endpoint at that path. List the catalogue at /v1/utility/endpoints. Do not retry without a change.
INVALID_REQUEST [400]
One or more request parameters are invalid. Do not retry without a change.
INSUFFICIENT_CREDITS [402]
This call costs more credits than the account has left. Top up and retry. Do not retry without a change.
RATE_LIMITED [429]
Rate limit for this key reached. Wait for Retry-After seconds. Safe to retry.
CONCURRENCY_LIMITED [429]
Concurrency ceiling for this key reached. Retry when an in-flight call finishes. Safe to retry.
IDEMPOTENCY_IN_PROGRESS [409]
A request with this Idempotency-Key is still running. Retry after Retry-After. Safe to retry.
IDEMPOTENCY_REPLAY_UNAVAILABLE [409]
The stored outcome for this Idempotency-Key is too large to replay. Use a new key only to make a new billable request. Do not retry without a change.
UPSTREAM_FAILED [502]
The upstream platform failed. No credits were charged. Retry later. Safe to retry.
UPSTREAM_NOT_FOUND [404]
The upstream platform has no such record. Do not retry without a change.
NOT_IMPLEMENTED [501]
This endpoint exists in the catalogue but has no live adapter yet. See /v1/utility/coverage for status. Do not retry without a change.
PROVIDER_NOT_CONFIGURED [501]
This endpoint is routed to an upstream provider that has no credentials configured on this deployment. Do not retry without a change.
INTERNAL_ERROR [500]
Unexpected gateway failure. No credits were charged. Safe to retry.
Docs: MCP install and API reference | KrillData