Skip to main content
POST
/
v2
/
jobs
/
neural-search
Neural Search Jobs
curl --request POST \
  --url https://api.hirebase.org/v2/jobs/neural-search \
  --header 'Content-Type: application/json' \
  --data '
{
  "vector": {
    "job_ids": [
      "<string>"
    ],
    "artifact_id": "<string>",
    "query": "<string>",
    "vectors": [
      [
        123
      ]
    ]
  },
  "lexical": {
    "job_titles": [
      "<string>"
    ],
    "keywords": [
      "<string>"
    ],
    "job_slug": "<string>",
    "company_slug": "<string>",
    "location_group": "<string>",
    "location_types": [
      "<string>"
    ],
    "geo_locations": [
      {
        "city": "<string>",
        "region": "<string>",
        "country": "<string>"
      }
    ],
    "experience": [
      "<string>"
    ],
    "yoe": {
      "min": 123,
      "max": 123
    },
    "include_yoe": "<string>",
    "company_types": [
      "<string>"
    ],
    "company_name": "<string>",
    "date_posted": "<string>",
    "days_ago": 123,
    "month": "<string>",
    "salary": {
      "min": 123,
      "max": 123
    },
    "include_no_salary": "<string>",
    "currency": "<string>",
    "job_types": [
      "<string>"
    ],
    "job_category": [
      "<string>"
    ],
    "industry": "<string>",
    "sub_industry": [
      "<string>"
    ],
    "visa": "<string>",
    "include_expired": "<string>",
    "hide_seen_jobs": "<string>",
    "user_id": "<string>",
    "job_board": [
      "<string>"
    ],
    "sort_by": "<string>",
    "sort_order": "<string>",
    "page": 123,
    "limit": 123
  }
}
'
{
  "jobs": [
    {
      "_id": "<string>",
      "job_title": "<string>",
      "description": "<string>",
      "application_link": "<string>",
      "job_categories": [
        {}
      ],
      "job_type": "<string>",
      "location_type": "<string>",
      "locations": [
        {
          "city": "<string>",
          "region": "<string>",
          "country": "<string>"
        }
      ],
      "salary_range": {
        "min": 123,
        "max": 123,
        "currency": "<string>",
        "period": "<string>"
      },
      "yoe_range": {
        "min": 123,
        "max": 123
      },
      "requirements_summary": "<string>",
      "visa_sponsored": true,
      "date_posted": "<string>",
      "job_board": "<string>",
      "job_board_link": "<string>",
      "job_slug": "<string>",
      "company_name": "<string>",
      "company_slug": "<string>",
      "company_link": "<string>",
      "company_logo": "<string>",
      "company_data": {
        "description_summary": "<string>",
        "linkedin_link": {},
        "size_range": {
          "min": 123,
          "max": 123
        },
        "industries": [
          {}
        ],
        "subindustries": [
          {}
        ]
      },
      "vector_score": 123
    }
  ],
  "total_count": 123,
  "page": 123,
  "limit": 123,
  "total_pages": 123
}

Documentation Index

Fetch the complete documentation index at: https://www.hirebase.org/docs/llms.txt

Use this file to discover all available pages before exploring further.

This endpoint enables you to perform hybrid searches: apply familiar filters (titles, locations, salary, etc.) while simultaneously ranking results by vector similarity to a text query or embedding.

Endpoint

POST /v2/jobs/neural-search

Request Body

Note:
  • You can supply only vector, only lexical, or both; at least one must be present.
  • If you include both, results are ordered by combined ranking (semantic score then lexical rank).
vector
object
Parameters for semantic, embedding-based search
lexical
object
Traditional filtering parameters

Response

jobs
array
Array of job objects matching the query.
total_count
number
Total number of matching jobs
page
number
Current page number
limit
number
Number of results returned
total_pages
number
Total pages available
Rate limit: 4 requests/second on search endpoints. See Error Handling.

Example Request

curl -X POST https://api.hirebase.org/v2/jobs/neural-search \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{
    "vector": {
      "query": "senior backend engineer building distributed systems with Python and Kubernetes"
    },
    "lexical": {
      "location_types": ["Remote", "Hybrid"],
      "experience": ["Senior"],
      "industry": "Tech, Software & IT Services",
      "days_ago": 30,
      "limit": 10
    }
  }'

Example Response

{
  "jobs": [
    {
      "_id": "6814bw99fc2284gt4777f21a",
      "job_title": "Machine Learning Engineer",
      "company_name": "AI Innovations",
      "vector_score": 0.87,
      "date_posted": "2025-07-15",
      "location_type": "Hybrid",
      "locations": [{"city":"San Francisco","region":"CA","country":"United States"}],
      "job_type": "Full Time",
      "salary_range": { "min": 180000, "max": 240000 },
      "currency": "USD",
      "experience_level": "Senior",
      "vector_score": 0.87
    }
  ],
  "total_count": 23,
  "page": 1,
  "limit": 5,
  "total_pages": 5
}

Error Responses

Returned when the request is malformed or contains invalid parameters.
Returned when an unexpected server-side error occurs.
Returned if you do not have access to this feature.