API

Documentation

Version 1.0

Filtering

The AutoTechJobs API supports powerful filtering capabilities to help you narrow down results and find exactly what you're looking for. Filtering is available on most collection endpoints and allows you to specify criteria that returned resources must match.

Filter Parameters

Filters are applied using query parameters. Multiple filters can be combined to create complex queries.

GET /v1/jobs?location=london&salary_min=50000&posted_after=2025-01-01

Common Filter Parameters

ParameterDescriptionExample
locationFilter by location (city or region)location=manchester
distanceWhen used with location, specifies radius in milesdistance=25
job_typeFilter by job typejob_type=full-time
salary_minMinimum salarysalary_min=40000
salary_maxMaximum salarysalary_max=80000
posted_afterJobs posted after date (ISO 8601)posted_after=2025-01-01
posted_beforeJobs posted before date (ISO 8601)posted_before=2025-03-31
skillsRequired skills (comma-separated)skills=diagnostics,electric
experience_levelRequired experience levelexperience_level=mid

Operator Modifiers

You can use operator modifiers to create more complex filters. Append these to parameter names with an underscore.

OperatorDescriptionExample
_gtGreater thanexperience_years_gt=5
_ltLess thanexperience_years_lt=10
_gteGreater than or equal tosalary_gte=45000
_lteLess than or equal tosalary_lte=75000
_notNot equal tojob_type_not=part-time
_inIn a list of values (comma-separated)location_in=london,manchester,birmingham

Example Requests

Find full-time jobs in London with a salary range

GET /v1/jobs?location=london&job_type=full-time&salary_min=45000&salary_max=65000

Find jobs requiring specific skills posted in the last month

GET /v1/jobs?skills=electric,hybrid&posted_after=2025-03-01

Find employers with at least 5 open positions

GET /v1/employers?open_positions_gte=5

Filter Limitations

  • A maximum of 10 filters can be applied in a single request
  • Some filters may not be available on all endpoints
  • Text-based filters are case-insensitive
  • For location-based searches, the maximum distance is 100 miles

Response Format

When filters are applied, the response format remains the same as the standard endpoint response, but only matching resources are returned. The meta section of the response includes information about the applied filters.

{
  "data": [ ... ],  // Filtered results
  "meta": {
    "filters_applied": {
      "location": "london",
      "job_type": "full-time",
      "salary_min": 45000,
      "salary_max": 65000
    },
    "pagination": { ... }
  }
}

For more information on combining filtering with pagination, see the Pagination documentation.

To learn about sorting filtered results, see the Sorting documentation.