Strata API

Quickstart

Make your first API call in under 2 minutes.

1

Get your API key

Sign up at strata.dev/signup then open the dashboard. Your key appears under Overview → Your API Key.
2

Make your first request

Pass your key in the X-API-Key header. All requests use HTTPS.
3

Explore the response

The response contains an 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.

Finding your key: Dashboard → Overview → Your API Key section. If your key is compromised, use the Regenerate button — the old key is immediately revoked.

Strata API

Rate Limits

PlanCalls / monthNews lagRefresh rate
Free10024 hoursWeekly
Pro10,000Every 12 hoursDaily

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

GET

/best-practices

Returns AI-verified best practices for a given ecosystem and category.

Parameters

ParameterTypeRequiredDescription
ecosystemstringrequiredEcosystem slug: claude, openai, gemini, langchain, ollama
categorystringoptionalContent category. Defaults to best_practices

Response fields

FieldTypeDescription
ecosystemstringRequested ecosystem slug
categorystringRequested category
itemsarrayArray of { id, title, body, updated_at }
GET

/news

Returns aggregated news for an ecosystem. Free tier receives items older than 24 hours. Pro tier receives results updated every 12 hours.

Parameters

ParameterTypeRequiredDescription
ecosystemstringrequiredEcosystem slug
limitintegeroptionalNumber of results. Default 5, max 20

Response fields

FieldTypeDescription
ecosystemstringRequested ecosystem slug
tierstringYour plan tier: free or pro
itemsarrayArray of { id, title, body, source_url, published_at }
GET

/integrations

Returns ranked integrations and MCP servers for an ecosystem.

Parameters

ParameterTypeRequiredDescription
ecosystemstringrequiredEcosystem slug
use_casestringoptionalFilter by use case, e.g. coding, research

Response fields

FieldTypeDescription
ecosystemstringRequested ecosystem slug
itemsarrayArray of { id, title, body } — rank field included when use_case is provided

Full-text search across all verified content. Returns results ranked by relevance.

Parameters

ParameterTypeRequiredDescription
querystringrequiredSearch query
ecosystemstringoptionalFilter to a specific ecosystem. Default: all

Response fields

FieldTypeDescription
querystringThe original search query
resultsarrayArray of { id, title, body, category, ecosystem_slug, source_url }

Strata API

Error Codes

StatusCodeDescription
401Invalid API keyKey missing or not found
403Ecosystem not available on free tierUpgrade to Pro for this ecosystem
404Ecosystem not foundCheck the ecosystem slug
429Monthly limit reachedUpgrade or wait for monthly reset
500Internal server errorSomething 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_practices

ecosystem (required), category (optional)

Current AI-verified best practices for a given ecosystem.

get_latest_news

ecosystem (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_integrations

ecosystem (required), use_case (optional)

Ranked integrations and MCP servers. Filter by use case for relevance-sorted results.

search_ecosystem

query (required), ecosystem (optional)

Full-text search across all verified content. Omit ecosystem to search globally.