Einmal verbinden, viele Plattformen lesen.

API-Schlüssel im Dashboard erstellen und als Bearer-Token senden. REST und MCP nutzen dasselbe Guthaben.

Authentifizierung

REST
curl "https://posttodata.com/v1/reddit/search?query=coffee&limit=5&format=compact" \
  -H "Authorization: Bearer YOUR_API_KEY"

MCP

Setup for Claude, ChatGPT, Codex, Antigravity and Gemini
Claude Code
claude mcp add --transport http posttodata https://posttodata.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"
JSON configuration
{
  "mcpServers": {
    "posttodata": {
      "url": "https://posttodata.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Antwortformate

format=compact   # concise JSON
format=standard  # normalized fields
format=full      # includes upstream payload
format=markdown  # cited text (default for MCP)
limit=1..50
cursor=<page.next_cursor>

API-Feldnamen, Codebeispiele und Quellinhalte bleiben unverändert.

Limit the price of each call

REST and MCP accept max_price_usd; REST also accepts the X-Max-Price header. A price above either limit returns 412 before any upstream fetch or charge. Also limit the number of calls to bound the total task cost.

max_price_usd=0.003
X-Max-Price: 0.003
AI agent spending guide

Fehler und Abrechnung

Erfolgreiche Aufrufe verbrauchen Guthaben. Anbieterfehler werden erstattet. Maximal 60 Aufrufe pro Minute und Konto. Anonymer Zugriff nur als einmaliger verifizierter Test.

Preise variieren je Aktion. dry_run=1 zeigt den Preis ohne Datenabruf.

401 invalid_key / login_required
402 insufficient_balance
403 trial_used / verification_required
412 price_limit_exceeded
429 rate_limited / daily_budget_exhausted
502 upstream_error
503 service_unavailable
504 upstream_timeout