HTML widget
Embed 1–10 jobs with an iframe. Links open the original job page in a new tab.
HTML — 5 jobs
<iframe src="https://www.bhjobs.com.br/widget/?country=BR&limit=5" title="Jobs from BHjobs" width="100%" height="650" loading="lazy" referrerpolicy="no-referrer" sandbox="allow-popups allow-popups-to-escape-sandbox"></iframe>
Set country, limit, filters and the iframe height as needed. No JavaScript required.
JSON API
GET / HEAD. JSON by default; XML and RSS also supported. Public CORS, no credentials.
GET
https://www.bhjobs.com.br/api/jobs/?country=BR&limit=5&page=1
Pagination starts at 1. Stop at pages; requests beyond the last page return the last page.
JavaScript
const response = await fetch("https://www.bhjobs.com.br/api/jobs/?country=BR&limit=5&page=1", {
credentials: 'omit'
});
if (!response.ok) throw new Error('HTTP ' + response.status);
const { jobs } = await response.json();
for (const job of jobs) console.log(job.title, job.url);
PHP
<?php
$url = "https://www.bhjobs.com.br/api/jobs/?country=BR&limit=5&page=1";
$context = stream_context_create(['http' => ['timeout' => 15]]);
$body = @file_get_contents($url, false, $context);
if ($body === false) return;
$data = json_decode($body, true, 512, JSON_THROW_ON_ERROR);
foreach ($data['jobs'] as $job) {
echo htmlspecialchars($job['title'], ENT_QUOTES, 'UTF-8'), PHP_EOL;
}
Python
import json
from urllib.request import urlopen
from urllib.error import HTTPError
try:
with urlopen("https://www.bhjobs.com.br/api/jobs/?country=BR&limit=5&page=1", timeout=15) as response:
data = json.load(response)
for job in data['jobs']:
print(job['title'], job['url'])
except HTTPError as error:
print(error.code, error.headers.get('Retry-After'))
Parameters
| Parameter | Values | Description |
|---|
country | BR, PT, all | Country, subject to portal coverage. |
|---|
limit | 1–50 (API/feeds); 1–10 (widget) | Count. Default: 30 for API/feeds, 5 for widget. |
|---|
page | 1, 2, 3… | API/feed page; not applicable to widget. |
|---|
format | json, xml, rss | API response format. |
|---|
q | Text (up to 128 characters) | Job keyword search. |
|---|
unit_id | Numeric ID | State, region or district. |
|---|
city_id | Numeric ID | City. |
|---|
category_id | Numeric ID | Job category. |
|---|
type_id | Numeric ID | Contract type. |
|---|
owner_id | Numeric ID | Advertiser (known public ID). |
|---|
workplace | onsite, hybrid, remote | On-site, hybrid or remote. |
|---|
pcd | 1 | Jobs for people with disabilities. |
|---|
Remote job search
https://www.bhjobs.com.br/api/jobs/?country=BR&workplace=remote&q=analista&limit=10
Widget — jobs for people with disabilities
https://www.bhjobs.com.br/widget/?country=BR&pcd=1&limit=5
Location IDs
Use items[].id from the JSON catalogs.
Response fields
Illustrative response. Job text is returned in its original language.
JSON
{
"portal": "bhjobs",
"country": "BR",
"total": 1,
"page": 1,
"pages": 1,
"limit": 5,
"jobs": [
{
"id": 123,
"title": "Administrative Assistant",
"company": "Example Company",
"country": "BR",
"region": "Minas Gerais",
"region_code": "MG",
"city": "Belo Horizonte",
"category": "Administration",
"contract": "Full-time",
"pcd": false,
"workplace": "onsite",
"salary_min": null,
"salary_max": null,
"currency": "BRL",
"salary_period": "month",
"description": "Administrative tasks.",
"requirements": "Relevant experience.",
"benefits": "",
"published_at": "2026-01-10 09:00:00",
"expires_at": "2026-02-10 09:00:00",
"url": "https://www.bhjobs.com.br/vaga/123/assistente-administrativo-exemplo/"
}
]
}
| Fields | Description |
|---|
portal, country | Portal and query country. |
|---|
total, page, pages, limit | Total, current page, page count and limit. |
|---|
jobs[].id, title, company | ID, title and company. |
|---|
country, region, region_code, city | Country, region, region code and city. |
|---|
category, contract | Category and contract names. |
|---|
pcd, workplace | Disability indicator (boolean) and workplace type. |
|---|
salary_min, salary_max, currency, salary_period | Numeric values or null; currency and period (hour, day, week, month, year). |
|---|
description, requirements, benefits | Public text; may be empty. |
|---|
published_at, expires_at | Publication and expiry in UTC (YYYY-MM-DD HH:mm:ss). |
|---|
url | Absolute URL of the original job. |
|---|
RSS / XML
RSS 2.0 and public XML support API filters and pagination. XML: jobs/job. RSS: title, link, pubDate, category, description.
RSS 2.0
https://www.bhjobs.com.br/feed.xml?country=BR&limit=5
Public XML
https://www.bhjobs.com.br/partners/feed/?country=BR&limit=5
XML via API
https://www.bhjobs.com.br/api/jobs/?country=BR&limit=5&format=xml
Cache and HTTP responses
Cache: up to 1 hour. Revalidate with If-None-Match (ETag) and respect Retry-After.
| HTTP | Response |
|---|
200 | OK. |
|---|
304 | Not modified; reuse the cached response. |
|---|
405 / 422 | Invalid method or format. |
|---|
429 | Rate limited. Wait for Retry-After. |
|---|
503 | Temporarily unavailable. Respect Retry-After if provided. |
|---|
Use HTTPS, retain source attribution and original URLs, remove unavailable jobs and render data as text. Avoid excessive requests.
Contact