PastRiskPastRisk
REST API (/v1) · HMAC Webhooks · Native MCP Server

Domain History Risk API with Verifiable Proof.

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"
  }'
200 OK · pastrisk.timeline/v1
0% hallucination · verbatim quotes
{
  "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"
        }
      ]
    }
  ]
}

Built for Production Risk Pipelines, Not Toy Scrapers

Designed for merchant KYB underwriting, domain auction platforms, brand-protection engines, and autonomous AI workflows.

0% Quote Hallucination Guard

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.

Dedicated VIP Interactive Lane

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.

Native Remote & Stdio MCP

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.

Signed Async Batch Webhooks

Submit 500 domains in one POST /v1/batches request and receive HMAC-SHA256 signed completion payloads with automatic retries and JSONL streaming export.

Multilingual & Cloaking Forensics

Detects Chinese, Japanese, Vietnamese, and Indonesian gambling or adult hijacks plus hidden <noframes>, frameset, and JS redirect shells missed by naive text scrapers.

Default-Private Compliance

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.

Core REST & MCP Endpoints

Authenticate all /v1/* calls with Authorization: Bearer pr_live_...

Review Methodology & Live Telemetry →
MethodEndpointBehavior & Contract
GET/v1/domains/{domain}/timeline?wait=25Single-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/batchesSubmit 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/batchesList your account's historical and in-progress batches with pagination, net credits_charged, and webhook delivery status.
GET/v1/batches/{batch_id}?format=summary|fullPoll batch status, filter by verdict (including no_archive), inspect webhook delivery status, or stream JSONL via Accept: application/x-ndjson.
GET/v1/account/usageInspect monthly quota, rollover pack credits, active plan status, and RPM rate-limit headers.
POST/v1/mcpOfficial Remote Streamable HTTP MCP server (protocol 2025-03-26) exposing check_domain_history, screen_domains_bulk, get_batch_status, and get_pastrisk_quota.
15,000 monthly credits
$199/mo ($159.20/mo annual) · $0.02 overage
180-day free re-queries
0 credits on no_archive or failed crawls
120 req/min rate limit
X-RateLimit-* & X-Credits-* on every call

API & MCP Developer FAQ

Everything engineering and risk teams ask before integrating PastRisk.

How fast is GET /v1/domains/{domain}/timeline?

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.

How are API calls billed and what happens when a domain has no archive?

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.

What rate limits and concurrency ceilings apply to /v1?

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.

How do I verify PastRisk batch webhook signatures?

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.

Can AI agents like Claude Desktop or Cursor query PastRisk natively?

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.

Start auditing domain history via API in 5 minutes.

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.