JD.com 상점 상세 정보 API
API 상태
- 24시간 상태
- 정상
- 양호 / 정상
- 사용 가능
최근 24시간
최근 30일
Get one JD.com shop by its shop ID or mall link: name, seller ID, whether it is self-operated, avatar and banner images, follower count, whether it is closed, and the star rating when JD gives one.
POST https://api.everyinfra.com/api/v1/social을 보내고 platform은 jd, action은 shop_info로 설정합니다. 요금은 요청 1,000개당 $0.56(호출당 $0.000556)입니다. 실패한 호출과 빈 결과에는 과금하지 않습니다. 동기 방식입니다. 오래 걸리는 작업은 요청 본문에 "mode": "async"를 추가하고 job_id를 받아 폴링하세요.
AI 프롬프트
#EveryInfra JD.com 상점 상세 정보 엔드포인트(jd/shop_info)를 사용하는 데이터 수집 스크립트 작성을 도와주세요.
엔드포인트 사용 방법:
- 요청: Authorization: Bearer <API 키> 헤더와 함께 POST https://api.everyinfra.com/api/v1/social로 보냅니다. 키는 EVERYINFRA_API_KEY 환경 변수에서 읽고, 절대 하드코딩하지 마세요.
- 요청 본문에서 platform은 jd, action은 shop_info로 설정하고, 파라미터는 params 안에 넣습니다.
- 필수 파라미터:
- shop_id: The JD.com shop: the digit string (the shop_id in product_detail or shop rows) or https://mall.jd.com/index-<digits>.html without a query or fragment; not a product ID.
- 단일 객체를 반환합니다. 주요 필드: shop_id (JD 숫자 상점 ID입니다), shop_name (공개된 상점 이름입니다), shop_url (Public JD shop page (https://mall.jd.co…), seller_id (Numeric ID of the seller (merchant) (pr…), is_jd_self (Whether this is a JD self-operated (JD.…), logo_url (URL of the shop's avatar image (shop_in…), banner_url (URL of the shop's banner image (shop_in…), follower_count (Number of followers of the shop, as JD…), shop_rating (Shop star rating as JD gives it (shop_i…), is_closed (Whether the shop is closed (shop_info)).
- 요청 본문 예시:
{
"platform": "jd",
"action": "shop_info",
"params": {
"shop_id": "16374386"
}
}
- 요금: 요청 1,000개당 $0.56. 실패하거나 빈 결과에는 과금하지 않습니다.
- 대상이 수십~수백 개라면 요청 본문에 "mode": "async"를 추가하세요. job_id를 즉시 받은 뒤 GET https://api.everyinfra.com/api/v1/jobs/{job_id}를 폴링해 결과를 가져옵니다.
- 422가 반환되면 오류에 제시된 파라미터 이름과 허용 값을 참고해 요청을 수정하고, 429 또는 503이 반환되면 Retry-After만큼 기다린 뒤 다시 시도합니다.
코드를 작성하기 전에 필요한 대상과 수량, 필드, 원하는 출력 형식을 먼저 물어봐 주세요. 그런 다음 계획과 대략적인 비용을 저와 확인해 주세요.요청 파라미터
#| 이름 | 위치 | 타입 | 필수 | 기본값 | 설명 |
|---|---|---|---|---|---|
Authorization | header | string | 예 | - | Bearer 뒤에 API 키를 붙여 입력합니다. API 키는 콘솔에서 생성하며, URL이나 코드 저장소에 절대 넣지 마세요. |
platform | body | string | 예 | jd | 플랫폼 식별자이며 고정값입니다. |
action | body | string | 예 | shop_info | 기능 식별자이며 고정값입니다. |
shop_id | body.params | string | 예 | - | The JD.com shop: the digit string (the shop_id in product_detail or shop rows) or https://mall.jd.com/index-<digits>.html without a query or fragment; not a product ID. A shop that does not exist returns an empty result and is not charged. |
코드 샘플
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "jd",
"action": "shop_info",
"params": {
"shop_id": "16374386"
}
}'OpenAPI 정의(JSON)샘플 코드는 EVERYINFRA_API_KEY 환경 변수에서 키를 읽으므로, 복사한 코드에는 API 키가 포함되지 않습니다.
응답 예시
#{ "id": "req_…", "platform": "jd", "action": "shop_info", "results": { "shop_id": …, "shop_name": …, "shop_url": …, "seller_id": …, "is_jd_self": …, "logo_url": …, "banner_url": …, "follower_count": …, "shop_rating": …, "is_closed": …, "platform": … }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
응답 필드
#비즈니스 데이터는 results에 담깁니다. 아래 표는 레코드에 포함될 수 있는 필드를 나열하며, 플랫폼에 표시되지 않는 값을 임의로 만들어 넣지 않습니다.
| 필드 | 의미 |
|---|---|
shop_id | JD 숫자 상점 ID입니다. |
shop_name | 공개된 상점 이름입니다. |
shop_url | Public JD shop page (https://mall.jd.com/index-<shop ID>.html). |
seller_id | Numeric ID of the seller (merchant) (product_detail, shop_info). |
is_jd_self | Whether this is a JD self-operated (JD.com retail) product; in shop_info, whether the shop is a JD self-operated store. |
logo_url | URL of the shop's avatar image (shop_info). |
banner_url | URL of the shop's banner image (shop_info). |
follower_count | Number of followers of the shop, as JD gives it (shop_info). |
shop_rating | Shop star rating as JD gives it (shop_info); JD gives none for self-operated stores, and then it is absent. |
is_closed | Whether the shop is closed (shop_info). |
platform | 출처 플랫폼 식별자로, 요청의 platform과 같습니다(예: xiaohongshu, tiktok). |
오류 및 과금
#- 401
- 키가 없거나 유효하지 않습니다.
- 402
- 잔액이 부족합니다. 먼저 충전하세요.
- 422
- 파라미터 이름 또는 값이 올바르지 않습니다. 오류에 제시된 제안을 참고해 수정하세요. 과금되지 않습니다.
- 429
- 분당 요청 속도 제한에 도달했습니다. Retry-After만큼 기다린 뒤 다시 시도하세요.
- 503
- 처리를 완료하지 못했습니다. 보류된 금액은 잔액으로 반환됩니다. 결과가 불확실하면 재시도하기 전에 먼저 확인하세요.
- 200 빈 결과
- 데이터가 없습니다. 과금되지 않습니다.
공식 참고 자료
#객체와 용어를 확인하는 용도로만 사용합니다. 해당 플랫폼이 EveryInfra를 승인하거나 보증한다는 의미는 아닙니다.
- JD.com JSSDK: SKU와 매장 대상은 별도로 지정한다 ↗
JD.com 리디렉션 문서는 상품 상세 대상에는 `skuId`를, 매장 상세 대상에는 `shopId`를 사용합니다. 이는 상품 식별자와 매장 식별자를 구분해야 한다는 근거가 되지만, 웹페이지 수집 권한, URL 파싱 지원, 매장 전체 카탈로그, EveryInfra의 요청 동작을 입증하지는 않습니다.
2026-09-11 확인