Yelp business details API
One business on Yelp: rating, number of reviews, price level, categories, address, phone, website and opening hours.
GEThttps://api.okdata.online/v1/yelp/places/get
- 가격
- $0.003
- 호출당 · 잘못된 파라미터는 무료
- 반환
- One Place
- data.item으로
- 호출이 실패하면
- 1회만 과금
- A failed call is retried on our side first. A call that reached the platform is charged once even if it fails; bad parameters are free.
- 상태
- 출시 예정
- Listed but not callable yet: a call answers capability_paused and is not charged.
결제1,000 lookups cost $3.00. New accounts get $0.20 of credit, no card needed. 과금 규칙 →
파라미터
| 이름 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
url | string | 예 | The business's Yelp link, https://www.yelp.com/biz/<id>. | https://www.yelp.com/biz/joes-pizza-new-york-148 |
view | stringbriefcompactstandardfull | 아니요 | How much of each object comes back. brief: IDs, title, the first 100 characters of the text, link, time and the main counts, for scanning a list (then get what you need by ID). compact leaves out empty fields and cuts long text at 500 characters. full adds platform-specific fields under ext. | — |
fields | string[] | 아니요 | Fields to keep, by path (author.name), to save tokens. In a query string: comma-separated. | — |
cursor, view and fields work the same on every endpoint: how requests work.
출시 예정
This endpoint is listed but not callable yet: a call answers capability_paused and is not charged. The parameters, fields and price on this page are the contract it will open with; the status page and the changelog say when it does.
반환 필드
data.item 하나 장소.
| 필드 | 유형 | 보기 | 설명 |
|---|---|---|---|
id | string | compact | The place's ID on its platform (Google's place ID on Google Maps). |
name | string | compact | 상호명. |
url | string | null | compact | The place on its platform. |
category | string | null | compact | The main category, in the platform's words. |
categories | string[] | null | standard | 모든 카테고리. |
address | string | null | compact | 도로명 주소. |
19개 필드 모두 보기나머지 13개 숨기기
| 필드 | 유형 | 보기 | 설명 |
|---|---|---|---|
phone | string | null | compact | 업체 전화번호. |
website | string | null | compact | 업체 웹사이트. |
rating | number | null | compact | 평균 별점, 1~5. |
reviews | integer | null | compact | 리뷰 수. |
price_level | string | null | standard | "$$" and the like, where the platform shows a price level. |
latitude | number | null | standard | 위도. |
longitude | number | null | standard | 경도. |
hours | object | null | standard | 요일별 영업시간(Google 표기 그대로). |
open_state | string | null | standard | Open or closed now, as Google says it at fetch time. |
description | string | null | standard | The platform's short description of the place. |
thumbnail_url | string | null | standard | 사진. |
rank | integer | null | compact | 결과 내 순위(1부터). |
ext | 객체 | full | 플랫폼별 추가 필드. view=full일 때만 반환됩니다. |
조회 수 열이 가장 작습니다 view 필드 반환 위치: compact returns only compact fields, standard adds the standard ones, full 는 모든 항목을 반환합니다. 기본값은 standard.
과금되는 경우
One call costs $0.003 and returns one place. 1,000 lookups cost $3.00. A lookup that reached the platform is charged even when it is not found or the platform fails; calls stopped before reaching the platform are free.
데이터 반환호출당 $0.003
잘못된 파라미터, 잔액 부족, 일시 중지된 엔드포인트무료
| 시간 | 결제 금액 |
|---|---|
| 호출 1회 최대 비용 | $0.003 |
| 빈 응답 | $0.003 |
| 찾을 수 없음(플랫폼에 해당 항목이 없음) | $0.003 |
| 플랫폼 오류 또는 시간 초과 시 | $0.003 |
| 잘못된 파라미터, 잔액 부족, 일시 중지된 엔드포인트 | 무료 |
| 24시간 이내 동일한 Idempotency-Key로 재전송 | 유지된 결과가 반환되면 무료 |
A call that reached the platform costs $0.003 even when the answer is empty, not found or a platform failure; a call stopped before that, such as for bad parameters, is free.
Prices from price book 5975d8e8b43d9ecb, in effect since 2026-12-04. 이 플랫폼의 모든 요금 →
자주 발생하는 오류
Every error has the same shape and says whether it was charged. The ones this endpoint can return:
| HTTP | 코드 | 의미 | 청구액 |
|---|---|---|---|
| 400 | invalid_params | A parameter is missing, has the wrong type or value, or the method is wrong. problems lists each one; param names the first.재시도: 수정 후 | 아니요 |
| 401 | unauthorized | The key is missing, malformed, revoked, disabled or expired (reason says which when known).Retry: 아니요 | 아니요 |
| 402 | insufficient_balance | The balance (available) cannot cover the most this call could cost (required).재시도: 수정 후 | 아니요 |
| 404 | not_found | The post, account or page does not exist or is not public. When the lookup reached the platform and was billed, or the endpoint's charge_when_not_found is above 0, this answer is charged: the body then says charged: true and amount.Retry: 아니요 | once, if it reached the platform |
| 429 | rate_limited | The account sent too many requests this minute (reason: rate) or has too many calls running (reason: concurrency).재시도: 가능 | 아니요 |
| 500 | settlement_unknown | The data came back, but the charge could not be confirmed.Retry: 동일한 Idempotency-Key로 | unknown until looked up |
| 502 | fetch_failed | The request failed even after we retried automatically on our side. If it reached the platform and the request was billed, it is charged once at the endpoint's price (charged: true and amount); otherwise nothing is charged.재시도: 가능 | once, if it reached the platform |
| 503 | capability_paused | 이 엔드포인트는 현재 일시 중지되어 실행되지 않았습니다.재시도: 가능 | 아니요 |
| 504 | timeout | The data did not come back in time. If the request had reached the platform and was billed, it is charged once at the endpoint's price (charged: true and amount); otherwise the hold is released.재시도: 가능 | once, if it reached the platform |
질문
Can I call the Yelp business details API now?
This endpoint is listed but not callable yet: a call answers capability_paused and is not charged. The parameters, fields and price on this page are the contract it will open with; the status page and the changelog say when it does.
How much does the Yelp business details API cost?
One call costs $0.003 and returns one place. 1,000 lookups cost $3.00. A lookup that reached the platform is charged even when it is not found or the platform fails; calls stopped before reaching the platform are free.
Can I pass a share link instead of an ID?
Yes. Put the link in url and okdata reads the ID from it. Short share links work too.
Do I need a Yelp account, cookies or a QR login?
No. You send only your okdata API key. The data is public data from Yelp; nothing is fetched with your own Yelp account.
호출이 실패해도 과금되나요?
Yes, once, when the call reached the platform: an empty answer, a not_found, a failure or a timeout on the platform's side costs one call (one item for per-item endpoints), and the error says charged: true with amount. Calls refused before reaching the platform, such as bad parameters or a low balance, cost nothing.
What if Yelp does not show a field?
The field is null, and meta.unavailable names it with the reason: platform (the platform never shows it) or capability (we cannot fetch it yet).