# JD.com Shop details API (jd.shop_info)

- Canonical page: [https://everyinfra.com/en/jd-api/shop_info](https://everyinfra.com/en/jd-api/shop_info?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "jd", "action": "shop_info", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=jd&action=shop_info

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| shop_id | not declared | yes | not declared | 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. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| shop_id | JD numeric shop ID. |
| shop_name | Public 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 | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```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"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "jd",
        "action": "shop_info",
        "params": {
            "shop_id": "16374386",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "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": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=jd
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
