Skip to main content
POST
/
enrichment-service
/
view-enrichment-results
curl -X POST https://search.leads-siren.com/enrichment-service/view-enrichment-results \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "data": {
      "record_id": "abc-123-def",
      "page": 1,
      "page_size": 10
    }
  }'
import requests

resp = requests.post(
    "https://search.leads-siren.com/enrichment-service/view-enrichment-results",
    headers={"x-api-key": "YOUR_API_KEY"},
    json={
        "data": {
            "record_id": "abc-123-def",
            "page": 1,
            "page_size": 10
        }
    }
)
print(resp.json())
{
  "total_records": 156,
  "page": 1,
  "page_size": 10,
  "data": [
    {
      "full_name": "Jean Dupont",
      "company": "Example SARL",
      "siren": "123456789",
      "phone": "+33 1 23 45 67 89",
      "email": "jean.dupont@example.com"
    }
  ]
}
{
  "detail": "Missing record_id in data"
}
{
  "detail": "File path not found for the given record_id"
}
Retrieve paginated results from a completed enrichment job. Returns the enriched CSV data as JSON with pagination support.

Request Body

data
object
curl -X POST https://search.leads-siren.com/enrichment-service/view-enrichment-results \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "data": {
      "record_id": "abc-123-def",
      "page": 1,
      "page_size": 10
    }
  }'
import requests

resp = requests.post(
    "https://search.leads-siren.com/enrichment-service/view-enrichment-results",
    headers={"x-api-key": "YOUR_API_KEY"},
    json={
        "data": {
            "record_id": "abc-123-def",
            "page": 1,
            "page_size": 10
        }
    }
)
print(resp.json())
{
  "total_records": 156,
  "page": 1,
  "page_size": 10,
  "data": [
    {
      "full_name": "Jean Dupont",
      "company": "Example SARL",
      "siren": "123456789",
      "phone": "+33 1 23 45 67 89",
      "email": "jean.dupont@example.com"
    }
  ]
}
{
  "detail": "Missing record_id in data"
}
{
  "detail": "File path not found for the given record_id"
}