Skip to main content
POST
/
api
/
yellowpages
/
businesses
/
coupons
/yellowpages/businesses/coupons
curl --request POST \
  --url https://api.anysite.io/api/yellowpages/businesses/coupons \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "business": "<string>",
  "timeout": 300
}
'
[
  {
    "@type": "YellowpagesCoupon",
    "id": "<string>",
    "description": "<string>",
    "disclaimer": "<string>",
    "original_price": "<string>",
    "actual_price": "<string>",
    "expires": "<string>",
    "image": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
business
string
required

Yellow Pages business profile (MIP) URL or path

Minimum string length: 1
Example:

"https://www.yellowpages.com/los-angeles-ca/mip/emergency-rooter-542379108"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

@type
string
default:YellowpagesCoupon
id
string | null
description
string | null
disclaimer
string | null
original_price
string | null
actual_price
string | null
expires
string | null
image
string | null