POST /v1/search
Search across Mauritania job sources. Queries can be in Arabic or French.
Request body
Section titled “Request body”{ "query": "Ingénieur", "limit": 20, "sources": ["beta", "techghil"]}| Param | Type | Required | Default | Constraints |
|---|---|---|---|---|
query |
string | Yes | 1 to 200 characters | |
limit |
integer | No | 20 |
1 to 60 |
sources |
string[] | No | the 10 Mauritania sources | "techghil", "beta", "rimtic", "recrutements", "sib", "kinross", "unicef", "unhcr", "wfp", "iom", plus "remotive" and "jobicy" (global remote feeds, returned only when named) |
Example
Section titled “Example”curl -X POST https://taf.hululsoft.mr/v1/search \ -H "Content-Type: application/json" \ -H "X-API-Key: your-key-here" \ -d '{"query":"Ingénieur","limit":5}'Or run it in the request builder on the home page.
Response
Section titled “Response”{ "jobs": [ { "id": "beta-10869", "title": "Ingénieur Informatique Développeur ERP", "company": "CDE Mauritanie", "location": "Nouakchott", "description": "", "url": "https://beta.mr/beta/offre/10869", "source": "beta", "postedAt": "2026-03-15T00:00:00.000Z", "expiresAt": "2026-04-15T23:59:59.999Z", "isExpired": true, "tags": [] } ], "totalCount": 1, "sourceStats": { "techghil": { "fetched": 100, "matched": 0, "status": "complete", "lastCompleteAt": "2026-03-16T07:00:00Z", "servedFrom": "live", "truncated": false }, "beta": { "fetched": 17, "matched": 1, "status": "complete", "lastCompleteAt": "2026-03-16T07:00:00Z", "servedFrom": "live", "truncated": false }, "rimtic": { "fetched": 13, "matched": 0, "status": "complete", "lastCompleteAt": "2026-03-16T07:00:00Z", "servedFrom": "live", "truncated": false }, "recrutements": { "fetched": 4, "matched": 0, "status": "complete", "lastCompleteAt": "2026-03-16T07:00:00Z", "servedFrom": "live", "truncated": false } }, "complete": true}| Field | Type | Description |
|---|---|---|
jobs |
array | Matching job listings, sorted by relevance then recency |
totalCount |
integer | Number of jobs returned after applying the limit |
sourceStats |
object | Per-source counts and availability |
complete |
boolean | See Availability and complete |
jobs[].id |
string | Unique ID prefixed by source |
jobs[].title |
string | Job title |
jobs[].company |
string | Company or source name |
jobs[].location |
string | City or region |
jobs[].description |
string | Empty in search. Use /v1/extract for full text. |
jobs[].url |
string | Link to the job detail page |
jobs[].source |
string | Source key |
jobs[].postedAt |
string | ISO 8601 post date |
jobs[].expiresAt |
string | ISO 8601 expiry (beta and rimtic only) |
jobs[].isExpired |
boolean | Whether the listing is past expiry |
jobs[].type |
string | Job type (recrutements: “Concours” or “Recrutement public”) |
jobs[].tags |
string[] | Category and domain tags |
jobs[].companyLogo |
string | Logo URL (rimtic only) |
Errors
Section titled “Errors”| Code | Body | Cause |
|---|---|---|
| 400 | {"error":"Query must be a non-empty string"} |
Missing or invalid query |
| 400 | {"error":"Query exceeds 200 characters"} |
Query too long |
| 400 | Zod validation error | Invalid body shape |
| 401 | {"error":"unauthorized"} |
Missing or wrong API key |
| 429 | {"error":"rate_limit_exceeded", ...} |
Rate limit reached |