Stop maintaining brittle archive scrapers, proxy pools, and foreign-language classifiers. Query pastrisk.timeline/v1 for explicit 4-state risk verdicts, exact verbatim quotes, English translations, and clickable Wayback links.
# Single-domain synchronous audit (waits up to 25s for live crawl)
curl -s "https://pastrisk.com/v1/domains/pastname.com/timeline?wait=25" \
-H "Authorization: Bearer pr_live_your_api_key"
# Screen up to 500 domains asynchronously with HMAC webhook delivery
curl -s -X POST "https://pastrisk.com/v1/batches" \
-H "Authorization: Bearer pr_live_your_api_key" \
-H "Content-Type: application/json" \
-d '{
"domains": ["pastname.com", "iana.org", "nyala.com"],
"callback_url": "https://api.yourapp.com/webhooks/pastrisk"
}'{
"schema": "pastrisk.timeline/v1",
"domain": "pastname.com",
"verdict": {
"status": "high_risk",
"headline": "This site provides information and links for purchasing mobile phones and accessories (2004), later repurposed with confirmed hacked SEO spam risk (2025).",
"primary_language": "en",
"high_risk_flags": ["hacked_spam_doorway"],
"sensitive_flags": [],
"confidence": 0.95
},
"coverage": {
"has_archive": true,
"first_capture": "2004-03-22",
"last_capture": "2025-10-13",
"years_with_captures": 6,
"judged_ratio": 1.0
},
"segments": [
{
"from": "2025-03",
"to": "2025-10",
"state": "active_site",
"category": "corporate",
"language": "zh-Hans",
"risks": ["hacked_spam_doorway"],
"evidence": [
{
"captured_at": "2025-03-11T12:07:16Z",
"archive_url": "https://web.archive.org/web/20250311120716/http://pastname.com/",
"quote": "冠竞体育(中国)官方网站-登录入口",
"quote_en_translation": "Guanjing Sports (China) Official Website - Login Entrance"
}
]
}
]
}Designed for merchant KYB underwriting, domain auction platforms, brand-protection engines, and autonomous AI workflows.
Every high_risk_flag and sensitive_flag is deterministically substring-verified against the raw historical HTML before the API returns 200 OK. Unverified claims are automatically dropped.
Single API lookups (?wait=25) execute in an isolated high-priority worker pool with elastic cross-exit concurrency—never stuck behind 500-domain bulk queues.
Wire Claude, Cursor, or internal compliance agents directly to https://pastrisk.com/v1/mcp or npx -y @pastrisk/mcp-server with 4 structured risk tools out of the box.
Submit 500 domains in one POST /v1/batches request and receive HMAC-SHA256 signed completion payloads with automatic retries and JSONL streaming export.
Detects Chinese, Japanese, Vietnamese, and Indonesian gambling or adult hijacks plus hidden <noframes>, frameset, and JS redirect shells missed by naive text scrapers.
Every domain you query via /v1 remains strictly private to your account. Nothing is ever exposed to search engines or public directories unless you explicitly enable a certificate.
Authenticate all /v1/* calls with Authorization: Bearer pr_live_...
| Method | Endpoint | Behavior & Contract |
|---|---|---|
| GET | /v1/domains/{domain}/timeline?wait=25 | Single-domain synchronous or async lookup. Returns 200 with full pastrisk.timeline/v1 JSON on cache hit or fast live crawl, or 202 Accepted with live_stats progress. |
| POST | /v1/batches | Submit up to 500 domains per batch with optional HTTPS HMAC-signed callback_url webhook. Automatically deduplicates and skips 180-day already-unlocked domains (0 credits). |
| GET | /v1/batches | List your account's historical and in-progress batches with pagination, net credits_charged, and webhook delivery status. |
| GET | /v1/batches/{batch_id}?format=summary|full | Poll batch status, filter by verdict (including no_archive), inspect webhook delivery status, or stream JSONL via Accept: application/x-ndjson. |
| GET | /v1/account/usage | Inspect monthly quota, rollover pack credits, active plan status, and RPM rate-limit headers. |
| POST | /v1/mcp | Official Remote Streamable HTTP MCP server (protocol 2025-03-26) exposing check_domain_history, screen_domains_bulk, get_batch_status, and get_pastrisk_quota. |
Everything engineering and risk teams ask before integrating PastRisk.
Cached domains return in under 150ms. Uncached live lookups run in our dedicated VIP interactive worker lane with elastic cross-exit concurrency, typically completing in 8–15 seconds inside the ?wait=25 synchronous window.
Each newly unlocked domain consumes 1 lookup credit. Domains with no Wayback Machine history (no_archive) or upstream failures are automatically refunded (0 credits charged). Re-querying any unlocked domain within 180 days on the same account is always free.
Business & Risk API keys allow up to 120 requests/minute, up to 10 concurrent synchronous ?wait>0 long-polls per account, and up to 10 batch submissions/minute (500 domains per batch, 5 concurrent active batches). Every response includes standard X-RateLimit-* and X-Credits-* headers.
Every webhook POST includes X-PastRisk-Timestamp and X-PastRisk-Signature (sha256=<hex>). Compute HMAC-SHA256 over "<timestamp>.<raw_body>" using your account webhook secret from dash.pastrisk.com/developers and compare in constant time.
Yes. Connect directly to our zero-install Remote Streamable HTTP MCP endpoint at https://pastrisk.com/v1/mcp using your Bearer API key (protocol 2025-03-26), or run the official stdio bridge via npx -y @pastrisk/mcp-server.
Create your free workspace (10 permanent credits included) to inspect sample JSON timelines, then upgrade to Business API when you are ready for production volume.