Strata API
Quickstart
Make your first API call in under 2 minutes.
Get your API key
Make your first request
X-API-Key header. All requests use HTTPS.Explore the response
items array. Each item has a title, body, and updated_at timestamp. Items are Claude-validated and safe for injection into AI prompts.Strata API
Authentication
All API requests require an X-API-Key header. Keys are prefixed with sk_. Never expose your key in client-side code or version control.
Strata API
Rate Limits
| Plan | Calls / month | News lag | Refresh rate |
|---|---|---|---|
| Free | 100 | 24 hours | Weekly |
| Pro | 10,000 | Every 12 hours | Daily |
When you exceed your monthly limit the API returns a 429 status. Limits reset on the first day of each calendar month.
To increase your limit, upgrade to Pro.
Strata API
API Reference
Base URL: https://api.strata.dev/v1
In local dev: http://localhost:3000/api/v1
/best-practices
Returns AI-verified best practices for a given ecosystem and category.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ecosystem | string | required | Ecosystem slug: claude, openai, gemini, langchain, ollama |
category | string | optional | Content category. Defaults to best_practices |
Response fields
| Field | Type | Description |
|---|---|---|
ecosystem | string | Requested ecosystem slug |
category | string | Requested category |
items | array | Array of { id, title, body, updated_at } |
/news
Returns aggregated news for an ecosystem. Free tier receives items older than 24 hours. Pro tier receives results updated every 12 hours.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ecosystem | string | required | Ecosystem slug |
limit | integer | optional | Number of results. Default 5, max 20 |
Response fields
| Field | Type | Description |
|---|---|---|
ecosystem | string | Requested ecosystem slug |
tier | string | Your plan tier: free or pro |
items | array | Array of { id, title, body, source_url, published_at } |
/integrations
Returns ranked integrations and MCP servers for an ecosystem.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
ecosystem | string | required | Ecosystem slug |
use_case | string | optional | Filter by use case, e.g. coding, research |
Response fields
| Field | Type | Description |
|---|---|---|
ecosystem | string | Requested ecosystem slug |
items | array | Array of { id, title, body } — rank field included when use_case is provided |
/search
Full-text search across all verified content. Returns results ranked by relevance.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | required | Search query |
ecosystem | string | optional | Filter to a specific ecosystem. Default: all |
Response fields
| Field | Type | Description |
|---|---|---|
query | string | The original search query |
results | array | Array of { id, title, body, category, ecosystem_slug, source_url } |
Strata API
Error Codes
| Status | Code | Description |
|---|---|---|
| 401 | Invalid API key | Key missing or not found |
| 403 | Ecosystem not available on free tier | Upgrade to Pro for this ecosystem |
| 404 | Ecosystem not found | Check the ecosystem slug |
| 429 | Monthly limit reached | Upgrade or wait for monthly reset |
| 500 | Internal server error | Something went wrong on our end |
All error responses share the same shape:
{ "error": "message", "tier": "free" }The tier field is included only on 403 and 429 responses.
Strata API
Code Examples
1. Get Claude best practices
Fetch the current top best practices for the Claude ecosystem.
# Get Claude best practices
curl -s "https://api.strata.dev/v1/best-practices?ecosystem=claude" \
-H "X-API-Key: sk_your_api_key_here"2. Search across all ecosystems
Run a full-text search across every verified content item.
# Search across all ecosystems
curl -s "https://api.strata.dev/v1/search?query=function+calling" \
-H "X-API-Key: sk_your_api_key_here"3. Poll for latest news with pagination
Continuously poll the news endpoint, tracking seen items by ID to surface only new arrivals.
# Poll for latest news (page 1)
curl -s "https://api.strata.dev/v1/news?ecosystem=openai&limit=5" \
-H "X-API-Key: sk_your_api_key_here"
# Page 2 (offset-based)
curl -s "https://api.strata.dev/v1/news?ecosystem=openai&limit=5&offset=5" \
-H "X-API-Key: sk_your_api_key_here"Strata API
MCP Server
Connect your agent once and get access to all Strata tools automatically.
Strata is available as a native MCP server. Any MCP-compatible client — Claude.ai, Cursor, Windsurf, or a custom agent — can call all four tools without making individual REST requests.
Remote connection (Streamable HTTP)
Add to your MCP client config:
{
"mcpServers": {
"strata": {
"url": "https://strata-fawn-xi.vercel.app/mcp",
"headers": {
"Authorization": "Bearer sk_your_api_key_here"
}
}
}
}Local connection (stdio)
For local development with Claude Desktop, clone the repo and add to claude_desktop_config.json:
{
"mcpServers": {
"strata": {
"command": "npx",
"args": [
"tsx",
"/path/to/strata/scripts/mcp-stdio.ts"
],
"env": {
"STRATA_API_KEY": "sk_your_api_key_here"
}
}
}
}Available tools
get_best_practicesecosystem (required), category (optional)
Current AI-verified best practices for a given ecosystem.
get_latest_newsecosystem (required), limit (optional, max 20)
Latest news and releases. Pro gets results updated every 12 hours; free gets items older than 24 h.
get_top_integrationsecosystem (required), use_case (optional)
Ranked integrations and MCP servers. Filter by use case for relevance-sorted results.
search_ecosystemquery (required), ecosystem (optional)
Full-text search across all verified content. Omit ecosystem to search globally.