Back to Documentation
Code Examples
Practical examples and integration guides for the SanctionSnap API
Basic Search
Simple name search across all sanctions lists
curl -X POST "https://sanctionsnap.com/api/search" \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"name": "Vladimir Putin"
}'
Batch Screening
Screen multiple names at once for efficiency
curl -X POST "https://sanctionsnap.com/api/screen" \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"records": [
{"name": "John Smith", "id": "cust_001"},
{"name": "Jane Doe", "id": "cust_002"},
{"name": "Vladimir Putin", "id": "cust_003"}
]
}'
Advanced Search with Filters
Use filters to narrow down search results
curl -X POST "https://sanctionsnap.com/api/search/advanced" \
-H "X-API-Key: your_api_key_here" \
-H "Content-Type: application/json" \
-d '{
"query": "Putin",
"country": "Russia",
"entity_type": "individual",
"limit": 5
}'