viralquery

Get an API key

Buy a key in two steps via /v1/signup — instant, self-serve.

Any caller can buy a key — no waiting on anyone:

curl -X POST https://api.viralquery.com/v1/signup \
  -H "Content-Type: application/json" \
  -d '{"amountCents": 2000}'
# → { "url": "https://checkout.stripe.com/c/pay/cs_...", "claimToken": "claim_..." }

Open the url in a browser and pay. Then claim the key:

curl -X POST https://api.viralquery.com/v1/signup/claim \
  -H "Content-Type: application/json" \
  -d '{"claimToken": "claim_..."}'
# → { "status": "completed", "apiKey": "sk_viralquery_...", "creditsCents": 2000 }

The apiKey is shown once. Save it.

See Authentication for how the key is used on subsequent calls.