Bayt job search

GET https://api.api.sh/bayt/v1/search
1 credit / call jobs & b2b try it in the playground →

Jobs on Bayt.com (Middle East and North Africa) for keywords, country and city: id, title, link, company and its Bayt page, locations, summary, posted time, Easy Apply and external flags, logo. Pass next_page back as page; null on the last page.

Sort by date, limit to recent posts, and filter by industry, career level, employment type, company, company type, gender, nationality-only jobs, remote or Easy Apply. total is the number of matching jobs; filters lists the site's filter groups with their options (value, count) and the param (param) that takes them; applied_filters echoes what is in effect.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
q string Keywords, e.g. engineer. Example: engineer
country string uae (default), saudi-arabia, qatar, kuwait, bahrain, oman, egypt, jordan, lebanon, morocco, iraq, algeria, tunisia, pakistan, india, international. Example: uae
location string City, e.g. dubai, riyadh.
page integer Page number. Pass next_page from the previous response.
sort relevance | date relevance (default) or date (newest first).
posted_within 24h | 7d | 30d Only jobs posted in the last 24 hours, 7 days or 30 days.
industry string Industry id(s) from filters (key jb_industry_id_original), comma-separated, e.g. 12 (Construction & Building).
career_level string fresh_graduate, entry_level, mid_career, management, or a value from filters (key jb_career_level_id_original); comma-separated.
job_type string full_time, contractor, or a value from filters (key jb_employment_type); comma-separated.
company string Company name(s) as in filters (key employer_company_name), comma-separated, e.g. aecom.
company_type string employer or agency (or a value from filters, key employer_company_type).
gender string The ad's gender preference, a value from filters (key jb_gender_int), e.g. 0 (unspecified).
nationality string Two-letter country code: only jobs open to that country's nationals, e.g. ae (UAE Nationals Only).
remote boolean true for work-from-home jobs only.
easy_apply boolean true for Easy Apply jobs only.

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/bayt/v1/search?q=engineer" \
  -H "x-api-key: $APISH_KEY"

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).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.