YepAPI
Business & Trends

Google Business Data

Get Google My Business listings — name, address, ratings, reviews, hours.

POST/v1/seo/business/info
$0.03/call

Usage

const res = await fetch('https://api.yepapi.com/v1/seo/business/info', {
  method: 'POST',
  headers: {
    'x-api-key': 'YOUR_API_KEY',
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({ keyword: 'pizza near times square', location: 'us' }),
});
const { data } = await res.json();
console.log(data);
curl -X POST https://api.yepapi.com/v1/seo/business/info \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "pizza near times square", "location": "us"}'

Request Body

ParameterTypeRequiredDescriptionDefault
keywordstringYesSearch query for business listings
locationstringNoCountry code"us"

Response

{
  "ok": true,
  "data": {
    "keyword": "pizza near times square",
    "results": [
      {
        "name": "Joe's Pizza",
        "address": "7 Carmine St, New York, NY 10014",
        "phone": "+1-212-366-1182",
        "website": "https://joespizzanyc.com",
        "rating": 4.5,
        "reviewCount": 12400,
        "category": "Pizza restaurant",
        "workingHours": "Mon-Sun: 10am-4am"
      }
    ]
  }
}

Response Fields

FieldTypeDescription
okbooleanWhether the request succeeded
data.keywordstringThe search query used to find businesses
data.resultsarrayList of Google Business listings matching the query
data.results[].namestringBusiness name
data.results[].addressstringFull street address of the business
data.results[].phonestringBusiness phone number
data.results[].websitestringBusiness website URL
data.results[].ratingnumberAverage Google rating (0-5)
data.results[].reviewCountnumberTotal number of Google reviews
data.results[].categorystringGoogle Business category
data.results[].workingHoursstringBusiness operating hours
Under the Hood

Queries Google Business listings in real-time.

On this page