# DataRoute — Extended Machine Reference Canonical Origin: https://dataroute.dev Specification Date: 2026-11-22 Current Stage: Stage 0 Pre-Launch Specification (Stage 1 commercial gateway planned) Planned REST Base: https://api.dataroute.dev/v1/* Planned MCP Endpoint: https://dataroute.dev/mcp API Key Convention: DATAROUTE_API_KEY ## 1. Platform Scope & Positioning DataRoute ("OpenRouter for Public Data") routes developer and AI agent requests across public internet data and growth intelligence: 1. Social Data (15 routes): X via first-party Ark engine, global long-tail social (Reddit, YouTube, TikTok, Bluesky) via dual-upstream failover, and demand-gated Stage 2 regional hard sources (WeChat Official Accounts, Xiaohongshu, Weibo, Bilibili). 2. Website & Domain Intelligence (6 routes): Vaneform-backed traffic scale, DNS/TLS/WHOIS/RDAP profiles, Tranco/Majestic/CrUX ranks, and compliance-cleared organic keyword and competitor slices. 3. Public Web Capture (4 routes): PageReceipt-backed URL-to-Markdown extraction, desktop (PC) and mobile (H5) screenshots, domain site maps, and bounded site dossiers. 4. Search & SERP (2 routes): Search autocomplete suggestions and dual-upstream Google organic SERP rank capture. Strict boundaries: strictly public data only; LLM chat/image/video inference routing remains separate; companion public sites OffMedian (offmedian.com) and Vaneform (vaneform.com) stay physically separated. ## 2. Billing & Reliability Contract - Single global USD pricing catalog processed through Stripe. - Non-expiring prepaid USD credits shared across all 4 pillars and MCP tools. - $10 USD minimum top-up rationale: standard 2.9% + $0.30 card fee costs 5.9% at $10 versus 8.9% at $5. - Planned $0.20-$0.50 starter test credits for new accounts + volume tier discounts. - Schema-validated HTTP 200-only billing: zero charge on 400, 401, 402, 404, 422, 429, 502, or 504 responses. ## 3. Complete Planned Endpoint Matrix (27 Routes) | Method | Planned Path | Platform | Capability | Stage | Engine | MCP Tool | | --- | --- | --- | --- | --- | --- | --- | | GET | `/v1/social/x/tweets/{id}` | X / Twitter | Tweet Lookup | V1 Flagship | Ark (owned pool + fallback) | `social_x_tweet` | | GET | `/v1/social/x/users/{handle}` | X / Twitter | User Profile | V1 Flagship | Ark (owned pool + fallback) | `social_x_user` | | GET | `/v1/social/x/users/{handle}/timeline` | X / Twitter | User Timeline | V1 Flagship | Ark (owned pool + fallback) | `social_x_timeline` | | GET | `/v1/social/x/users/{handle}/following` | X / Twitter | Following Graph Slice | V1 Flagship | Ark (owned pool + fallback) | `social_x_following` | | GET | `/v1/social/x/search` | X / Twitter | Public Post Search | V1 Flagship | Ark (owned pool + fallback) | `social_x_search` | | GET | `/v1/social/reddit/posts` | Reddit | Subreddit Feed & Search | V1 Multi-Upstream | Dual-Upstream Proxy Router | `social_reddit_posts` | | GET | `/v1/social/reddit/threads/{id}` | Reddit | Thread & Comments Tree | V1 Multi-Upstream | Dual-Upstream Proxy Router | `social_reddit_thread` | | GET | `/v1/social/youtube/videos/{id}` | YouTube | Video Metadata & Transcript | V1 Multi-Upstream | Dual-Upstream Proxy Router | `social_youtube_video` | | GET | `/v1/social/youtube/channels/{handle}` | YouTube | Channel Profile & Uploads | V1 Multi-Upstream | Dual-Upstream Proxy Router | `social_youtube_channel` | | GET | `/v1/social/tiktok/videos/{id}` | TikTok | Public Video & Creator Slice | V1 Multi-Upstream | Dual-Upstream Proxy Router | `social_tiktok_video` | | GET | `/v1/social/bluesky/feed/{handle}` | Bluesky | ATProto Profile & Author Feed | V1 Multi-Upstream | Open Protocol + Health Router | `social_bluesky_feed` | | GET | `/v1/social/wechat/articles` | WeChat Official Accounts | Public Article & Search Slice | V2 Hard-Source | Stage 2 First-Party Adapter | `social_wechat_articles` | | GET | `/v1/social/xiaohongshu/notes` | Xiaohongshu (RED) | Public Note & Keyword Slice | V2 Hard-Source | Stage 2 First-Party Adapter | `social_xhs_notes` | | GET | `/v1/social/weibo/statuses` | Weibo | Public Status Timeline | V2 Hard-Source | Stage 2 First-Party Adapter | `social_weibo_statuses` | | GET | `/v1/social/bilibili/videos/{bvid}` | Bilibili | Video Metadata & Uploader Stats | V2 Hard-Source | Stage 2 First-Party Adapter | `social_bilibili_video` | | GET | `/v1/sites/{domain}/traffic` | Domain Traffic | Traffic Scale Estimates | V1 Flagship | Vaneform (compliance-cleared) | `site_traffic` | | GET | `/v1/sites/{domain}/profile` | Infrastructure | DNS, TLS, WHOIS & RDAP Profile | V1 Flagship | Vaneform First-Party Prober | `site_profile` | | GET | `/v1/sites/{domain}/ranks` | Authority Ranks | Tranco, Majestic & CrUX Ranks | V1 Flagship | Vaneform Authority Warehouse | `site_ranks` | | GET | `/v1/sites/{domain}/keywords` | Search Visibility | Organic Keyword Slice | V1 Flagship | Vaneform (compliance-cleared) | `site_keywords` | | GET | `/v1/sites/{domain}/competitors` | Competitive Graph | Domain Competitors Slice | V1 Flagship | Vaneform (compliance-cleared) | `site_competitors` | | GET | `/v1/sites/{domain}/history` | Longitudinal Data | Historical Monthly Snapshots | V2 Hard-Source | Vaneform Monthly Ledger | `site_history` | | POST | `/v1/web/markdown` | Page Extraction | URL to LLM Markdown | V1 Flagship | PageReceipt | `web_to_markdown` | | POST | `/v1/web/screenshot` | Visual Capture | Desktop (PC) & Mobile (H5) Screenshot | V1 Flagship | PageReceipt | `web_screenshot` | | POST | `/v1/web/map` | Site Discovery | Domain Site Map | V1 Flagship | PageReceipt | `web_map` | | POST | `/v1/web/dossier` | Multi-Page Research | Bounded Site Dossier | V1 Flagship | PageReceipt | `web_site_dossier` | | GET | `/v1/search/suggest` | Autocomplete | Search Autocomplete Suggestions | V1 Flagship | First-Party Search Module | `search_suggest` | | GET | `/v1/search/serp` | Google SERP | Google Organic SERP Capture | V1 Multi-Upstream | Dual-Upstream SERP Router | `search_serp` | ## 4. Normalized Error Taxonomy | HTTP | Code | Billable | Meaning | | --- | --- | --- | --- | | 200 | `ok` | Yes (schema-valid) | Valid structured payload passed schema verification and explicit provenance checks. | | 400 | `invalid_parameter` | No ($0.00) | Malformed query parameter, unsupported market code, or invalid URL/domain format. | | 401 | `invalid_api_key` | No ($0.00) | Missing, revoked, or malformed DATAROUTE_API_KEY bearer token. | | 402 | `insufficient_credits` | No ($0.00) | Prepaid USD credit balance is below the route maximum reservation. | | 404 | `resource_not_found` | No ($0.00) | Target public tweet, user handle, video ID, or URL was confirmed nonexistent or private. | | 422 | `validation_failed` | No ($0.00) | Upstream returned data that failed required field validation; rejected before billing. | | 429 | `rate_limited` | No ($0.00) | Caller concurrency limit reached or all configured upstream pools temporarily throttled. | | 502 | `upstream_exhausted` | No ($0.00) | Primary and secondary upstreams returned upstream errors; circuit breaker updated. | | 504 | `upstream_timeout` | No ($0.00) | Bounded end-to-end execution budget expired before a valid response arrived. | ## 5. Canonical Route Index (13 URLs) - https://dataroute.dev/ - https://dataroute.dev/apis/ - https://dataroute.dev/apis/social/ - https://dataroute.dev/apis/sites/ - https://dataroute.dev/apis/web/ - https://dataroute.dev/apis/search/ - https://dataroute.dev/mcp/ - https://dataroute.dev/docs/api-contract/ - https://dataroute.dev/pricing/ - https://dataroute.dev/research/public-data-api-landscape-2026/ - https://dataroute.dev/method/routing-and-failover/ - https://dataroute.dev/method/http-200-billing/ - https://dataroute.dev/brand/