JD.com 질문 답변 API

POST

API 상태

24시간 상태
정상
  • 양호 / 정상
  • 사용 가능
정상

최근 24시간

최근 30일

Get every seller answer under one question on a JD.com product, in one call. Pass the product's item_id and the question's id from questions as question_id. Each answer has its text, date, the answerer label and likes.

POST https://api.everyinfra.com/api/v1/social을 보내고 platform은 jd, action은 question_answers로 설정합니다. 요금은 요청 1,000개당 $0.56(호출당 $0.000556)입니다. 실패한 호출과 빈 결과에는 과금하지 않습니다. 동기 방식입니다. 오래 걸리는 작업은 요청 본문에 "mode": "async"를 추가하고 job_id를 받아 폴링하세요.

AI 프롬프트

#
EveryInfra JD.com 질문 답변 엔드포인트(jd/question_answers)를 사용하는 데이터 수집 스크립트 작성을 도와주세요.

엔드포인트 사용 방법:
- 요청: Authorization: Bearer <API 키> 헤더와 함께 POST https://api.everyinfra.com/api/v1/social로 보냅니다. 키는 EVERYINFRA_API_KEY 환경 변수에서 읽고, 절대 하드코딩하지 마세요.
- 요청 본문에서 platform은 jd, action은 question_answers로 설정하고, 파라미터는 params 안에 넣습니다.
- 필수 파라미터:
  - item_id: The JD.com product the question is on, the same item_id you passed to questions: the digit string or https://item.jd.com/<digits>.html without a query or fragment.
  - question_id: The ID of a JD.com question, the id of a questions row (digits only). question_answers returns every seller answer JD shows under it in one call, with no paging; pass the item_id of the product the question is on.
- 선택 파라미터:
  - limit: 양의 정수(1 이상): 반환할 결과의 최대 개수입니다. 생략하면 이 호출의 결과를 모두 반환합니다. 지정해도 응답을 최대 이 개수까지 잘라낼 뿐 더 많이 가져오지는 않으며, 과금은 limit 지정 여부나 값과 관계없이 같습니다.
- 레코드 목록을 반환합니다. 각 레코드의 주요 필드: id, question_id (ID of the question (question_answers),…), item_id (JD 숫자 상품 ID입니다), text, posted_date (Date posted (questions, question_answer…), author_name (Reviewer nickname, returned as JD shows…), author_type (JD's numeric code for the kind of answe…), like_count (Number of likes (the answers in questio…).
- 요청 본문 예시:
{
  "platform": "jd",
  "action": "question_answers",
  "params": {
    "item_id": "100270865468",
    "question_id": "166721745"
  }
}
- 요금: 요청 1,000개당 $0.56. 실패하거나 빈 결과에는 과금하지 않습니다.
- 대상이 수십~수백 개라면 요청 본문에 "mode": "async"를 추가하세요. job_id를 즉시 받은 뒤 GET https://api.everyinfra.com/api/v1/jobs/{job_id}를 폴링해 결과를 가져옵니다.
- 422가 반환되면 오류에 제시된 파라미터 이름과 허용 값을 참고해 요청을 수정하고, 429 또는 503이 반환되면 Retry-After만큼 기다린 뒤 다시 시도합니다.

코드를 작성하기 전에 필요한 대상과 수량, 필드, 원하는 출력 형식을 먼저 물어봐 주세요. 그런 다음 계획과 대략적인 비용을 저와 확인해 주세요.

요청 파라미터

#
이름위치타입필수기본값설명
Authorizationheaderstring예-Bearer 뒤에 API 키를 붙여 입력합니다. API 키는 콘솔에서 생성하며, URL이나 코드 저장소에 절대 넣지 마세요.
platformbodystring예jd플랫폼 식별자이며 고정값입니다.
actionbodystring예question_answers기능 식별자이며 고정값입니다.
item_idbody.paramsstring예-The JD.com product the question is on, the same item_id you passed to questions: the digit string or https://item.jd.com/<digits>.html without a query or fragment.
question_idbody.paramsstring예-The ID of a JD.com question, the id of a questions row (digits only). question_answers returns every seller answer JD shows under it in one call, with no paging; pass the item_id of the product the question is on. A question whose seller_answer_count is 0 returns an empty result and is not charged; any other form returns 422 and is not charged.
limitbody.paramsinteger (1–)아니요-양의 정수(1 이상): 반환할 결과의 최대 개수입니다. 생략하면 이 호출의 결과를 모두 반환합니다. 지정해도 응답을 최대 이 개수까지 잘라낼 뿐 더 많이 가져오지는 않으며, 과금은 limit 지정 여부나 값과 관계없이 같습니다.

코드 샘플

#
bash
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": "question_answers",
  "params": {
    "item_id": "100270865468",
    "question_id": "166721745"
  }
}'

OpenAPI 정의(JSON)샘플 코드는 EVERYINFRA_API_KEY 환경 변수에서 키를 읽으므로, 복사한 코드에는 API 키가 포함되지 않습니다.

응답 예시

#
이 파라미터에 대한 샘플 응답이 아직 없습니다. 이 미리보기는 API 정의에 따른 응답 형태와 필드를 보여 주며, …는 자리표시자입니다. 실제 호출 결과가 아닙니다.
json
{  "id": "req_…",  "platform": "jd",  "action": "question_answers",  "results": [    {      "id": …,      "question_id": …,      "item_id": …,      "text": …,      "posted_date": …,      "author_name": …,      "author_type": …,      "like_count": …,      "platform": …    }  ],  "count": …,  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

응답 필드

#

비즈니스 데이터는 results에 담깁니다. 아래 표는 레코드에 포함될 수 있는 필드를 나열하며, 플랫폼에 표시되지 않는 값을 임의로 만들어 넣지 않습니다.

필드의미
id플랫폼에서 레코드의 고유 ID입니다. 한 플랫폼 안에서만 고유하며, 플랫폼이 다르면 ID가 중복될 수 있습니다.
question_idID of the question (question_answers), the same as the requested question_id; it is the id of a questions row.
item_idJD 숫자 상품 ID입니다. 검색 결과에서 얻은 값을 상세, 리뷰, 가격 호출에 바로 전달할 수 있습니다.
textHTML을 제거한 본문으로, 잘리지 않고 전체가 반환됩니다(일부 플랫폼은 목록 결과 자체에 발췌문만 포함되며, 이 경우 해당 플랫폼의 필드 설명에 명시되어 있습니다).
posted_dateDate posted (questions, question_answers), YYYY-MM-DD: JD gives the day only, with no time.
author_nameReviewer nickname, returned as JD shows it (JD may already partially mask it); in questions, the nickname of the asker or answerer as JD masks it; in question_answers, how JD labels the answerer, usually as the supplier.
author_typeJD's numeric code for the kind of answerer (question_answers); 5 has been the supplier (seller) in every answer seen.
like_countNumber of likes (the answers in questions, and question_answers).
platform출처 플랫폼 식별자로, 요청의 platform과 같습니다(예: xiaohongshu, tiktok).

오류 및 과금

#
401
키가 없거나 유효하지 않습니다.
402
잔액이 부족합니다. 먼저 충전하세요.
422
파라미터 이름 또는 값이 올바르지 않습니다. 오류에 제시된 제안을 참고해 수정하세요. 과금되지 않습니다.
429
분당 요청 속도 제한에 도달했습니다. Retry-After만큼 기다린 뒤 다시 시도하세요.
503
처리를 완료하지 못했습니다. 보류된 금액은 잔액으로 반환됩니다. 결과가 불확실하면 재시도하기 전에 먼저 확인하세요.
200 빈 결과
데이터가 없습니다. 과금되지 않습니다.

오류

공식 참고 자료

#

객체와 용어를 확인하는 용도로만 사용합니다. 해당 플랫폼이 EveryInfra를 승인하거나 보증한다는 의미는 아닙니다.

  • JD.com 사용자 서비스 약관(2026년 1월 20일 시행): 공개 리뷰와 접근 범위 ↗

    JD.com 사용자 서비스 약관에 따르면 리뷰 정보는 공개되며 JD.com은 약관에 따라 이를 사용할 수 있습니다. 또한 개인정보는 원칙적으로 동의 없이 제3자에게 공개되지 않으며, 개인정보 도용이나 적법한 권리 침해를 금지합니다. 이는 접근 및 허가 범위의 근거일 뿐이며, EveryInfra나 호출자에게 텍스트, 이미지, 사용자 정보를 재배포하거나 학습에 사용하거나 상업적으로 재사용할 권리를 부여하지 않습니다.

    2026-12-03 확인

Google Analytics는 동의 필요. 개인정보