API

Documentation

Version 1.0

Search API

The Search API allows you to programmatically search for jobs, employers, and candidates on the AutoTechJobs platform. It provides powerful filtering and sorting capabilities to help you find exactly what you're looking for.

GET

/search/jobs

Search for job listings with advanced filtering options.

Query Parameters

ParameterTypeDescription
qstringSearch query (searches across title, description, and skills)
locationstringFilter by location (city, region, country, or "Remote")
categorystringFilter by job category (e.g., "software-engineering", "data-science")
typestringFilter by job type (e.g., "full-time", "part-time", "contract")
experiencestringFilter by experience level (e.g., "entry", "mid", "senior")
salary_minintegerMinimum salary (in GBP)
salary_maxintegerMaximum salary (in GBP)
skillsstringComma-separated list of skills (e.g., "react,typescript,node")
companystringFilter by company name
posted_afterstringFilter jobs posted after this date (ISO 8601 format)
remotebooleanFilter for remote jobs only (true/false)
pageintegerPage number for pagination (default: 1)
limitintegerNumber of results per page (default: 20, max: 100)
sortstringSort by: relevance, date, salary (default: relevance)
orderstringSort order: asc or desc (default: desc)

Example Request

curl -X GET   "https://api.autotechjobs.co.uk/v1/search/jobs?q=react%20developer&location=london&type=full-time&skills=react,typescript&remote=true"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"

Example Response

{
  "data": [
    {
      "id": "job_123456",
      "title": "Senior React Developer",
      "company": {
        "id": "emp_123456",
        "name": "Tech Innovations Ltd",
        "logo_url": "https://example.com/logos/tech-innovations.png"
      },
      "location": "London, UK (Remote)",
      "type": "full-time",
      "category": "software-engineering",
      "experience_level": "senior",
      "salary": {
        "min": 60000,
        "max": 80000,
        "currency": "GBP",
        "period": "year"
      },
      "description": "We are looking for a Senior React Developer to join our team...",
      "skills": ["React", "TypeScript", "JavaScript", "Redux", "Node.js"],
      "is_remote": true,
      "posted_at": "2025-04-01T10:00:00Z",
      "expires_at": "2025-05-01T10:00:00Z",
      "url": "https://api.autotechjobs.co.uk/v1/jobs/job_123456"
    },
    // More job listings...
  ],
  "meta": {
    "pagination": {
      "total": 42,
      "pages": 3,
      "page": 1,
      "limit": 20
    },
    "filters": {
      "q": "react developer",
      "location": "london",
      "type": "full-time",
      "skills": ["react", "typescript"],
      "remote": true
    }
  }
}
GET

/search/companies

Search for companies with advanced filtering options.

Query Parameters

ParameterTypeDescription
qstringSearch query (searches across company name and description)
locationstringFilter by company location
industrystringFilter by industry
sizestringFilter by company size (e.g., "1-10", "11-50", "51-200", "201-500", "501+")
has_jobsbooleanFilter for companies with active job listings (true/false)
pageintegerPage number for pagination (default: 1)
limitintegerNumber of results per page (default: 20, max: 100)

Example Request

curl -X GET   "https://api.autotechjobs.co.uk/v1/search/companies?q=tech&industry=Information%20Technology&has_jobs=true"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"

Example Response

{
  "data": [
    {
      "id": "emp_123456",
      "name": "Tech Innovations Ltd",
      "logo_url": "https://example.com/logos/tech-innovations.png",
      "description": "A leading technology company specializing in...",
      "website": "https://techinnovations.example.com",
      "industry": "Information Technology",
      "size": "51-200",
      "location": "London, UK",
      "founded_year": 2015,
      "active_jobs_count": 5,
      "url": "https://api.autotechjobs.co.uk/v1/companies/emp_123456"
    },
    // More companies...
  ],
  "meta": {
    "pagination": {
      "total": 28,
      "pages": 2,
      "page": 1,
      "limit": 20
    },
    "filters": {
      "q": "tech",
      "industry": "Information Technology",
      "has_jobs": true
    }
  }
}
GET

/search/autocomplete

Get autocomplete suggestions for search queries, locations, skills, and companies.

Query Parameters

ParameterTypeDescription
qstringPartial search query to get suggestions for
typestringType of suggestions: query, location, skill, company (default: query)
limitintegerNumber of suggestions to return (default: 5, max: 10)

Example Request

curl -X GET   "https://api.autotechjobs.co.uk/v1/search/autocomplete?q=react&type=skill"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"

Example Response

{
  "data": [
    "React",
    "React Native",
    "React Router",
    "React Redux",
    "React Testing Library"
  ]
}

Search Best Practices

  • Use the q parameter for general searches across multiple fields.
  • Combine multiple filters to narrow down results more precisely.
  • Use the autocomplete endpoint to improve user experience in search interfaces.
  • For location-based searches, consider using both the location parameter and the remote parameter to include remote opportunities.
  • When searching for skills, separate multiple skills with commas.