France Travail job offer
One job offer on France Travail: title, ROME job code and label, employer with sector, size and description, place, travel, contract, hours and schedule, salary and benefits, qualification, experience, education, skills, soft skills, languages, driving licences, last update and the full description. Also salary_range (min, max, currency, period year/month/hour and months when stated), experience_code, schedule_conditions, employer_page_label and partner_offer. Give id or url, or q (plus any search filter) to open the first matching current offer.
Every response includes credits_used: the credits this call cost.
Parameters
| name | type | description |
|---|---|---|
id | string | Offer number (e.g. 215WRYT). |
url | string | Offer URL on candidat.francetravail.fr. |
q | string | Keywords (job title, skill or offer number). Example: developpeur |
location | string | Place code: a commune INSEE code (75056 Paris, 69123 Lyon), a department (75D) or a region (11R). |
radius | string | Distance around a commune in km (0-100, default 10). |
contract | string | Contract types, comma separated: CDI, CDD, MIS (temporary work), SAI (seasonal), LIB (self-employed), FRA (franchise), CCE, DDI, DIN. |
posted | 1 | 3 | 7 | 14 | 31 | Only offers from the last N days. |
qualification | 0 | 9 | 0 non-executive, 9 executive. |
hours | 1 | 2 | 1 full time, 2 part time. |
nature | string | Offer nature code (E1 employment contract, E2 apprenticeship, and the site's other codes). |
domain | string | Professional domain code (ROME), e.g. M or M18. |
salary_min | string | Minimum salary in euros. |
salary_period | A | M | H | Period of salary_min: A yearly (default), M monthly, H hourly. |
partners | 1 | 0 | 1 (default) = include offers from partner job sites, 0 = France Travail offers only. |
sort | relevance | date | With q: which order picks the first offer, relevance (default) or date (most recent). |
Every endpoint also takes fresh, raw, fields (see lean responses and caching).
Example
curl "https://api.api.sh/francetravail/v1/job" \
-H "x-api-key: $APISH_KEY" import os, requests
res = requests.get(
"https://api.api.sh/francetravail/v1/job",
params={},
headers={"x-api-key": os.environ["APISH_KEY"]},
timeout=120,
)
res.raise_for_status()
data = res.json() const url = new URL("https://api.api.sh/francetravail/v1/job");
const res = await fetch(url, { headers: { "x-api-key": process.env.APISH_KEY } });
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
const data = await res.json(); Response
A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).