一度の接続で複数のプラットフォームへ。
API キーを作成し Bearer トークンで送信します。REST と MCP は残高を共有します。
認証
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 GeminiClaude 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"
}
}
}
}応答形式
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 フィールド名、コード例、元のコンテンツは翻訳しません。
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エラーと課金
成功時に残高を引き落とし、上流エラー時には返金します。各アカウントは毎分 60 回まで。匿名利用はサイト上で認証した一度限りの試用のみです。
料金は操作ごとに異なります。dry_run=1 でデータ取得せず料金を確認できます。
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