Skip to main content
These examples target the Search Profiles endpoint and rely on the Daily Job Changes timestamp fields. The Search endpoint returns IDs only — pass them to Fetch Profile with fields: ["profile_info"] for the full job-change context.

Date-range queries

Job changes in the last 24 hours

{
  "query": {
    "range": {
      "profile_info.current_job_updated_at": {
        "gte": "now-1d/d",
        "lt": "now/d"
      }
    }
  },
  "limit": 1000
}

Job changes in a specific date window

{
  "query": {
    "range": {
      "profile_info.current_job_updated_at": {
        "gte": "2026-05-01",
        "lte": "2026-05-31"
      }
    }
  },
  "limit": 1000
}

Filtering by change type

Only company changes (excluding same-company promotions)

{
  "query": {
    "range": {
      "profile_info.latest_company_change_at": {
        "gte": "now-7d/d"
      }
    }
  },
  "limit": 1000
}

Only promotions (role change at the same company)

Profiles whose role changed more recently than their company.
{
  "query": {
    "bool": {
      "must": [
        {
          "range": {
            "profile_info.latest_role_change_at": { "gte": "now-30d/d" }
          }
        }
      ],
      "must_not": [
        {
          "range": {
            "profile_info.latest_company_change_at": { "gte": "now-30d/d" }
          }
        }
      ]
    }
  },
  "limit": 1000
}

Filtering by target

Job changes into a target company

{
  "query": {
    "bool": {
      "must": [
        {
          "range": {
            "profile_info.current_job_updated_at": { "gte": "now-7d/d" }
          }
        },
        {
          "term": {
            "profile_info.current_company_name.raw": { "value": "Stripe" }
          }
        }
      ]
    }
  },
  "limit": 1000
}

Job changes into a target title

{
  "query": {
    "bool": {
      "must": [
        {
          "range": {
            "profile_info.current_job_updated_at": { "gte": "now-7d/d" }
          }
        },
        {
          "match": {
            "profile_info.current_title": {
              "query": "VP Engineering",
              "operator": "AND"
            }
          }
        }
      ]
    }
  },
  "limit": 1000
}

Job changes within your network only

{
  "in_network_only": true,
  "query": {
    "range": {
      "profile_info.current_job_updated_at": { "gte": "now-14d/d" }
    }
  },
  "limit": 1000
}