Skip to content
OpenTrain AIOpenTrain AIOpenTrain AIDocs

Ask OpenTrain

Answers from the documentation, with sources.

What would you like to do with OpenTrain?

AI answers can be mistaken. Check the linked sources. Don’t include private account information.

Open app

DEVELOPER DOCUMENTATION

List Job Facets

Retrieve marketplace facet counts for building job search filters.

GET/api/public/v1/jobs/facets

Aggregate counts across the open marketplace — categories, languages, countries, and pay types, each with the number of matching jobs. Use these to populate filter dropdowns or to discover valid filter values for GET /jobs instead of guessing strings.

Tokenless, CORS-enabled, and edge-cached the same way as the search endpoint.

Requirements: none — no token, no scope, no feature flag. Rate limited to 120 requests/minute per IP.

No parameters. OPTIONS returns 204 (CORS preflight).

totalJobsnumber

Total open jobs in the marketplace.

categoriesobject[]

{value, count} pairs, sorted by count descending.

languagesobject[]

{value, count} pairs, sorted by count descending.

countriesobject[]

{value, count} pairs, sorted by count descending.

payTypesobject[]

{value, count} pairs — values are PAY_PER_HOUR, FIXED_PRICE, PAY_PER_LABEL.

generatedAtstring

ISO timestamp when the counts were computed.

StatuscodeMeaning
429RATE_LIMITEDOver 120 requests/minute from one IP