Get your live API key
Dashboard → API keys → Live → Create key
Open API keysOpen API setup and choose Create live API key. The first key has screenings:write, results:read and sources:read. You can change permissions in the key tools below. Add usage:read only if your app needs to read the allowance.
Copy the secret when it appears and save it in your server's configuration. If you need an account, use the API signup link for a developer starting point. Your workspace guides you through creating a key, running curl and opening the returned result in the dashboard.
The optional sandbox uses made-up records and does not use your live allowance. Sign up to get 250 free lifetime live screenings, shared by the API and dashboard, with no monthly reset or card needed. See workspace setup for live checks and team access.
- Sign up. Your workspace opens on API setup.
- Create a live key. The first request and its lists appear on the same page.
- Copy the secret once. Keep it out of browser code and source control.
Choose sources before screening
Run this discovery call with the same live key. Read the source ID, availability and supported entity types. Use only sources that fit your test. Availability can change between discovery and screening. If required data is unavailable, the check fails rather than returning an empty success.
export SANCTIONSKIT_API_KEY='YOUR_LIVE_KEY'
curl --fail-with-body https://www.sanctionskit.com/api/v1/sources \
-H "Authorization: Bearer $SANCTIONSKIT_API_KEY"Make your first API call
Replace YOUR_LIVE_KEY with the secret you just copied. First read GET /api/v1/sources with that key. Choose an available source that supports person, then replace SELECTED_SOURCE_ID below with its ID. Alex Morgan is a made-up input, but this request checks live source data and uses one completed live screening. It does not promise a match.
Keep REQUEST_KEY and the request body unchanged if you retry after a timeout. Create a new request key for a new screening.
export SANCTIONSKIT_API_KEY='YOUR_LIVE_KEY'
export REQUEST_KEY="quickstart-$(date +%s)"
curl --fail-with-body https://www.sanctionskit.com/api/v1/screenings \
-H "Authorization: Bearer $SANCTIONSKIT_API_KEY" \
-H 'Content-Type: application/json' \
-H "Idempotency-Key: $REQUEST_KEY" \
--data '{"subject":{"name":"Alex Morgan","entityType":"person","birthDate":"1984"},"sources":["SELECTED_SOURCE_ID"]}'Read the result and open your history
The response wraps the result in data. Follow the screening response reference and save data.id with your own business record. Read data.status, data.matches, data.coverage, and data.versions before taking the next step.
A potential_match belongs in a human review workflow. A no_match means the request completed without a candidate meeting the policy in the selected coverage. An error is a separate outcome, never a no-match result.
- potential_match: inspect evidence and conflicting fields.
- no_match: retain the coverage, date, and versions with the result.
- error: use the error code and request ID to resolve the request.
Compare the evidence and record a review decision.
Keep the coverage and date, and complete any policy-required review or wider checks.
Resolve the error before treating the check as complete.
Use the JavaScript and TypeScript SDK
Install the official sanctionskit package on npm for Node.js 22 or later. It supports JavaScript and TypeScript, with methods for source discovery, screening, results, evidence and batches. Keep your API key on the server.
The SDK repository includes runnable examples for customer and vendor screening, source selection and batch results. Continue with the Node.js and TypeScript guide for setup and request handling.
npm install sanctionskitUse the Go SDK
The official Go SDK works with Go 1.26 or later and uses only the standard library. It covers single screenings, retained results, evidence and source discovery.
Start with the runnable screening example. It screens a fictional sandbox subject and retrieves evidence for the same result. Use your sandbox key and keep the original request key and body for retries. The Go package reference explains the four methods and response types.
go get github.com/SanctionsKit/sanctionskit-go@v0.1.0Optional: test with made-up sandbox records
Create a separate sandbox key for tests that use made-up source records. Use that key with the request below. The sandbox has its own test allowance and does not use your free live screenings. A sandbox result says nothing about a real person or live list.
Keep sandbox and live keys separate. Changing the request body cannot change a key from one environment to the other.
{
"subject": {
"name": "Alex Morgan",
"entityType": "person",
"birthDate": "1984"
},
"package": "sandbox@1"
}Take the next step
Open live Screening history to inspect the saved result. Potential matches enter the shared review queue, where your team can record its decision.
For more live checks, choose source IDs or a versioned package. Review plans and allowances, retention and error handling. Continue with the complete Node.js and TypeScript tutorial or Python tutorial.
Open live historyFrequently asked questions
Which scopes do I need for my first screening API request?
Create a live key with screenings:write to send the screening and results:read to retrieve its saved evidence. Add sources:read for source discovery and usage:read to inspect the allowance. Keep the key in your server or trusted terminal, not browser code.
Does the quickstart check Alex Morgan against live sanctions lists?
Yes, the main request uses a live key and the available source ID you choose. Alex Morgan is a made-up input, so do not treat its result as a finding about a real person. The optional sandbox request uses sandbox@1 and made-up source records. It does not search live lists.
What should I do if the first curl request times out?
Keep REQUEST_KEY and the body unchanged, then follow the error guidance for a safe retry. The server may have accepted the first request even though you did not receive its response. Create a new request key only for a new screening operation.
How can I confirm my first API request actually worked?
Read the HTTP response and returned screening ID and status, then open the result in live screening history. Creating a key or copying the example is not proof of a completed request. Resolve an error before treating the check as finished.
KEEP BUILDING