Skip to main content
POST
/
api
/
yellowpages
/
businesses
/
photos
/yellowpages/businesses/photos
curl --request POST \
  --url https://api.anysite.io/api/yellowpages/businesses/photos \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "business": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "image": "<string>",
    "@type": "YellowpagesPhoto"
  }
]

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"

count
integer
required

Max number of photos to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

image
string
required
@type
string
default:YellowpagesPhoto