Skip to main content
Use this example to find people within a specified distance of a location. The geo_distance filter uses the professional_network.location.raw field. API reference: Search person
curl --request POST \
  --url https://api.crustdata.com/person/search \
  --header 'authorization: Bearer YOUR_API_KEY' \
  --header 'content-type: application/json' \
  --header 'x-api-version: 2025-11-01' \
  --data '{
    "filters": {
      "field": "professional_network.location.raw",
      "type": "geo_distance",
      "value": {
        "location": "San Francisco",
        "distance": 25,
        "unit": "mi"
      }
    },
    "limit": 1
  }'
Response trimmed for clarity.