Platinux API

POST/score/domain

Score a domain

Score a company from its website domain. 10 credits.

View as Markdown

Scoring checks a company's buying signals with your live template and returns one number from 0 to 100. It runs in the background: start a job, then check it. Other inputs: email, LinkedIn URL, or a whole list.

Start

bash
curl -X POST "https://mmkuffhlzytnmgraagbp.supabase.co/functions/v1/score/domain" \
  -H "Authorization: Bearer $PLATINUX_API_KEY" -H "Content-Type: application/json" \
  -d '{"domain": "asana.com", "template_id": "4d286e65-11b6-4f86-8eff-2a41105b0e09"}'
Body fieldTypeRequiredNotes
domainstringYesThe company's website. https://www.Asana.com/pricing is cleaned to asana.com
template_idstring (UUID)YesYour live template, from api-templates

The domain is screened first: social links, file names, IP addresses, parked domains and similar inputs are rejected with a one-word reason and cost nothing (Domain checks).

Started: 202, 10 credits

json
{ "status": "processing", "job_id": "8184a513-…", "domain": "asana.com", "template_id": "4d286e65-…",
  "check_after_seconds": 30, "input": "asana.com", "input_type": "domain", "credits_charged": 10 }

Every run scores again and is charged again. If the same company is already being scored for your account, that running job is returned instead, free.

Check the score

bash
curl "https://mmkuffhlzytnmgraagbp.supabase.co/functions/v1/score/domain?job_id=8184a513-…" -H "Authorization: Bearer $PLATINUX_API_KEY"

202 while processing; 200 when finished. Check every check_after_seconds (30). Any of the three paths works for GET.

json
{ "status": "complete", "job_id": "8184a513-…", "domain": "asana.com", "template_id": "4d286e65-…",
  "score": 100, "scored_at": "2026-11-19T14:48:49Z", "credits_charged": 10 }

status is complete, or partial when some data didn't arrive within 10 minutes (scored with what arrived).

Errors

HTTPerrorWhen
400invalid_domainNot a company website; reason says why. Free
400invalid_inputMissing or malformed template_id / job_id
401unauthorizedMissing, wrong or revoked key
402insufficient_creditsFewer than 10 credits
403template_not_allowedThe template isn't yours
404job_not_foundWrong job_id
409template_not_liveUse the template with is_live: true
422template_emptyYour live template has nothing switched on