bbb template is built to obtain bbb.org website information.
Useful Links
- Real-time and Asynchronous integration methods are available for this template.
- Batch requests are also supported.
Input Parameters
Request parameters available for the BBB template:| Parameter | Type | Required | Description |
|---|---|---|---|
target | string | ✅ | Target type must be set to bbb. |
url | string | ✅ | bbb.org URL. |
headless | string | html value enables JavaScript rendering. Read more.png value enables screenshot response. Read more. | |
geo | string | Set the country to use when submitting the query. | |
device_type | string | Specify device type and browser. Read more. | |
xhr | boolean | Set to true to retrieve a list of XHR and fetch requests.Read more.Default value is false. | |
markdown | boolean | Set to true to receive a Markdown response. Read more.Default value is false. |
Request Examples
# update 'TOKEN VALUE' with your API KEY
curl --request 'POST' \
--url 'https://data.decodo.com/v1/scrape' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer TOKEN VALUE' \
--header 'Content-Type: application/json' \
--data '
{
"target": "bbb",
"url": "https://www.bbb.org/search?find_text=Tree+Service&find_entity=&find_type=&find_loc=New+York%2C+NY&find_country=USA",
"headless": "html"
}
'
const scrape = async() => {
const response = await fetch("https://data.decodo.com/v1/scrape", {
method: "POST",
body: JSON.stringify({
"target": "bbb",
"url": "https://www.bbb.org/search?find_text=Tree+Service&find_entity=&find_type=&find_loc=New+York%2C+NY&find_country=USA",
"headless": "html"
}),
headers: {
"Content-Type": "application/json",
"Authorization": "Bearer TOKEN VALUE" // update with your API KEY
},
}).catch(error => console.log(error));
console.log(await response.json())
}
scrape()
import requests
url = "https://data.decodo.com/v1/scrape"
payload = {
"target": "bbb",
"url": "https://www.bbb.org/search?find_text=Tree+Service&find_entity=&find_type=&find_loc=New+York%2C+NY&find_country=USA",
"headless": "html"
}
headers = {
"accept": "application/json",
"content-type": "application/json",
"authorization": "Bearer TOKEN VALUE" # update with your API KEY
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
Output
Response Example
{
"results": [
{
"content": "<!DOCTYPE html><html class=\"js\" lang=\"en\"><head><meta http-equiv=\"origin-trial\" content=\"A7vZI3v+Gz7JfuRolKNM4Aff6zaGuT7X0mf3wtoZTnKv6497cVMnhy03KDqX7kBz/q/iidW7srW31oQbBt4VhgoAAACUeyJvcmlnaW4iOiJodHRwczovL3d3dy5nb29nbGUuY29tOjQ0MyIsImZlYXR1cmUiOiJEaXNhYmxlVGhpcmRQYXJ0eVN0b3JhZ2VQYXJ0aXRpb25pbmczIiwiZXhwaXJ5IjoxNzU3OTgwODAwLCJpc1N1YmRvbWFpbiI6dHJ1ZSwiaXNUaGlyZFBhcnR5Ijp0cnVlfQ==\"><meta charset=\"utf-8\"><meta http-equiv=\"x-ua-compatible\" content=\"ie=edge\"><meta name=\"viewport\" cont...",
"headers": {
"alt-svc": "h3=\":443\"; ma=86400",
"cf-cache-status": "DYNAMIC",
"cf-ray": "9fd92a955ba21476-LAX",
"content-encoding": "br",
"content-security-policy": "frame-ancestors 'self' *.bbb.org",
"content-type": "text/html; charset=utf-8",
"cross-origin-resource-policy": "cross-origin",
"date": "Mon, 18 May 2026 07:32:09 GMT",
"permissions-policy": "camera=(), microphone=(), payment=()",
"referrer-policy": "strict-origin-when-cross-origin",
"server": "cloudflare",
"speculation-rules": "\"/cdn-cgi/speculation\"",
"strict-transport-security": "max-age=31536000; includeSubDomains; preload",
"vary": "Accept-Encoding",
"x-content-type-options": "nosniff",
"x-firefox-spdy": "h2",
"x-frame-options": "sameorigin",
"x-html-minification-powered-by": "WebMarkupMin",
"x-xss-protection": "0"
},
"cookies": [
{
"comment": "",
"domain": "www.bbb.org",
"expires": 1779175929,
"httponly": "",
"key": "CF_Authorization",
"max-age": "",
"path": "/",
"samesite": "",
"secure": true,
"value": "eyJraWQiOiI3NGRkMDM0NTM1NmRmNjA0OTRkNzc3MmQ2YTEwMTBmMDIwOTQ1YjA5OTAyZjE5MjVjYWViYjVlYTQwZDIwOTAxIiwiYWxnIjoiUlMyNTYiLCJ0eXAiOiJKV1QifQ.eyJ0eXBlIjoiYXBwIiwiYXVkIjoiMmNhYzEyYTJmOWY0OTI2YjdmYmY3OTJmNTA5MjA1NjA5YWMwMmIwZmQ0MWQ1ZTcyZjY0YzY5NWY3MDg2ODkzYyIsImV4cCI6MTc3OTE3NTkyOSwiaXNzIjoiaHR0cHM6XC9cL2lhYmJiLmNsb3VkZmxhcmVhY2Nlc3MuY29tIiwiY29tbW9uX25hbWUiOiJhNTBlNTEzYjFjNzM0ZjFhMjJmZDJlN2ZkMjI5ZmI4NC5hY2Nlc3MiLCJpYXQiOjE3NzkwODk1MjksInN1YiI6IiJ9.HRSwmTlltZfy6Iew6_rGDXYw64PMqPf66l3UmTtP9ldYGu7G2dGVwUk85lFS2rtYiqNhAevHvdZ0ZIPa7Fco7EAww_urkt2u9AWfmqEpi7upw-T-5ECx9eC8qJhLx4w2l5ZQmnfSPa0FpYfSUdSdCNkBlzZzECf8er00Vpcx7Rzs-zBEy6XtIvLx4KLNtZMRhWwJSt1DaVCwiKoctPnGS6j3t-Lw-gOsjLmF29yqqR4bm8_3qabty0JJJsUHh9_a4Lj1wGducqTO7472DHJrlltn-Q7WUVdtKbVv81dqTNWE0Wc5tgoM4svFVYatsBZpKx7Xp3aioCWyZfwJ4zvLpA",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": 1810625529,
"httponly": "",
"key": "iabbb_user_culture",
"max-age": "",
"path": "/",
"samesite": "",
"secure": false,
"value": "en-us",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": 1810625529,
"httponly": "",
"key": "iabbb_user_location",
"max-age": "",
"path": "/",
"samesite": "",
"secure": false,
"value": "Santa%20Western_CA_USA",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": 1810625529,
"httponly": "",
"key": "iabbb_user_physical_location",
"max-age": "",
"path": "/",
"samesite": "",
"secure": false,
"value": "Los%20Angeles%2C%20CA%2C%20US",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": 1810625529,
"httponly": "",
"key": "iabbb_user_bbb",
"max-age": "",
"path": "/",
"samesite": "",
"secure": false,
"value": "1216",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": -1,
"httponly": "",
"key": "iabbb_session_id",
"max-age": "",
"path": "/",
"samesite": "",
"secure": false,
"value": "7e8cd448-7424-4640-9eba-18d4e74cc5ab",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": 1810625529,
"httponly": "",
"key": "iabbb_cookies_policy",
"max-age": "",
"path": "/",
"samesite": "",
"secure": false,
"value": "%7B%22necessary%22%3Atrue%2C%22functional%22%3Atrue%2C%22performance%22%3Atrue%2C%22marketing%22%3Atrue%7D",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": 1810625529,
"httponly": "",
"key": "iabbb_find_location",
"max-age": "",
"path": "/",
"samesite": "",
"secure": false,
"value": "New%20York_NY_USA",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": -1,
"httponly": "",
"key": "AMCVS_CB586B8557EA40917F000101%40AdobeOrg",
"max-age": "",
"path": "/",
"samesite": "",
"secure": false,
"value": "1",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": 1813649530,
"httponly": "",
"key": "AMCV_CB586B8557EA40917F000101%40AdobeOrg",
"max-age": "",
"path": "/",
"samesite": "",
"secure": false,
"value": "179643557%7CMCIDTS%7C20592%7CMCMID%7C62803562867303597697867103723733214305%7CMCAID%7CNONE%7CMCOPTOUT-1779096730s%7CNONE%7CvVersion%7C5.5.0",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": 1810625531,
"httponly": "",
"key": "cf_clearance",
"max-age": "",
"path": "/",
"samesite": "",
"secure": true,
"value": "M.fb5cwCTJWYSe8gnh8KVVeH_GeSmC6c0pE_MV.47LY-1779089531-1.2.1.1-W4On_5RGxatNhGcmSFWFqE51crK8.Q9veh.L.MAPEJN2GTj0nkZHSZ7yCY2.fhBpRsfzKyGlorpByhsqEiv0q85_LsiDH1BgRtCO5aurgY.FwAzweGRuaNfyBCGPBmbbw60SmtS15uyrvNzq57MCbOugUlnNlSxNoaY5mKMNHrlnpODHFki0tUDRgoQ9F996qi48fPwgN7KQVVqda.w.kENifw4Eol3QlvWHrc2lDXT0mESVnj4hlEVEOpmDtu850yZhNv_N9yqCK19OHS6TVyAkwcrh7qJ1fevShYyvLcF6zHenjRsuoYFE_nxUCst2xvRCAL68CR6uCALaNbzMBQ",
"version": ""
},
{
"comment": "",
"domain": ".bbb.org",
"expires": 1779091331,
"httponly": "",
"key": "__cf_bm",
"max-age": "",
"path": "/",
"samesite": "",
"secure": true,
"value": "gKNSxx_kjbs0fSRZJ8pVH5xScGC2sgFCDJejVUMP3AQ-1779089531.4605742-1.0.1.1-4xPciyONIxJd7oiIMXyaqdZfWE_equGCSgPRTt14uSC4kSR5ZPJjKW9Qn5XUfapx465Cpvj_vxpwJReuhqHEPEhAU_xNKhNm2Q9iF1Y9k4OtObMOdyDqOtRRUxj3FFMk",
"version": ""
},
{
"comment": "",
"domain": ".accounts.livechatinc.com",
"expires": 1813649536,
"httponly": "",
"key": "__lc_cid",
"max-age": "",
"path": "/licence/g13187847_117/",
"samesite": "",
"secure": true,
"value": "43ca947e-f237-4f03-aac6-d87f23b664a9",
"version": ""
},
{
"comment": "",
"domain": ".accounts.livechatinc.com",
"expires": 1813649536,
"httponly": "",
"key": "__lc_cst",
"max-age": "",
"path": "/licence/g13187847_117/",
"samesite": "",
"secure": true,
"value": "5ddc966f23ef70620f5cb74b918a51a373e91c8f5676e767d42da1d21e958bc2c7b4126d01f0c7ba0a0063b4f895c1848e8972588b3bf41b9ce830e557bb",
"version": ""
},
{
"comment": "",
"domain": "accounts.livechatinc.com",
"expires": 1779089566,
"httponly": "",
"key": "__oauth_redirect_detector",
"max-age": "",
"path": "/",
"samesite": "",
"secure": true,
"value": "counter=1&t=1779089566&tag=2f23a37ac9758e247b54c56122e01aad9ba11a71",
"version": ""
}
],
"status_code": 200,
"task_id": "7462042304405072897",
"created_at": "2026-05-18 07:32:03",
"updated_at": "2026-05-18 07:32:20",
"type": "raw"
}
]
}
Support
Need help or just want to say hello? Our support is available 24/7.
You can also reach us anytime via email at support@decodo.com.
You can also reach us anytime via email at support@decodo.com.
Feedback
Can’t find what you’re looking for? Request an article!
Have feedback? Share your thoughts on how we can improve.
Have feedback? Share your thoughts on how we can improve.