POST

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

Last 24 hours

Last 30 days

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.

Send POST https://api.everyinfra.com/api/v1/social with platform set to jd and action set to shop_info. Price $0.56 per 1,000 requests ($0.000556 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.

AI prompt

#
Please help me write a data collection script with the EveryInfra JD.com Shop details endpoint (jd/shop_info).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to jd and action to shop_info, and put the parameters inside params.
- Required parameters:
  - 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.
- Returns one object. Main fields: shop_id (JD numeric shop ID), shop_name (Public 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)).
- Example request body:
{
  "platform": "jd",
  "action": "shop_info",
  "params": {
    "shop_id": "16374386"
  }
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesjdPlatform identifier, fixed value.
actionbodystringYesshop_infoCapability identifier, fixed value.
shop_idbody.paramsstringYes-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.

Code samples

#
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": "shop_info",
  "params": {
    "shop_id": "16374386"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "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": { … }}

Response fields

#

Business data is in results. The table lists the fields a record can contain. Values the platform does not show are never made up.

FieldMeaning
shop_idJD numeric shop ID.
shop_namePublic shop name.
shop_urlPublic JD shop page (https://mall.jd.com/index-<shop ID>.html).
seller_idNumeric ID of the seller (merchant) (product_detail, shop_info).
is_jd_selfWhether this is a JD self-operated (JD.com retail) product; in shop_info, whether the shop is a JD self-operated store.
logo_urlURL of the shop's avatar image (shop_info).
banner_urlURL of the shop's banner image (shop_info).
follower_countNumber of followers of the shop, as JD gives it (shop_info).
shop_ratingShop star rating as JD gives it (shop_info); JD gives none for self-operated stores, and then it is absent.
is_closedWhether the shop is closed (shop_info).
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

Official references

#

Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.

  • JD.com JSSDK: Separate SKU and Shop Targets ↗

    JD.com's redirect documentation uses `skuId` for a product-detail target and `shopId` for a shop-detail target. This supports keeping product and shop identifiers separate; it does not establish webpage collection rights, supported URL parsing, complete shop catalogs, or EveryInfra request behavior.

    Checked 2026-09-11

Google Analytics needs consent. Privacy