Shop.app API endpoint
Finds the Shop.app merchant that sells a product, by the product `id`. Returns the shop's handle, name, description, logo, banner, rating, review count, storefront URL, and its collections. Unknown products, or ones with no public shop, return not found.
/shop-app/products/{id}/shopPath parameters:
id: required. Shop.app product id. Example: 4596217053229.Notable response behavior:
| Field | In the sample | Value in the sample |
|---|---|---|
| product_id | Has a value | |
| shop.id | Has a value | |
| shop.uuid | Has a value | |
| shop.shopify_id | Has a value | |
| shop.handle | Has a value | |
| shop.name | Has a value | “Wide Fit Shoes UK” |
| shop.url | Has a value | shop.app |
| shop.logo | Has a value | cdn.shopify.com |
| shop.rating | Has a value | 4.48 |
| shop.reviews_count | Has a value | 557 |
| shop.storefront | Has a value | widefitshoes.co.uk |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| id (path) | string | Yes | Product id | 4596217053229 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/shop-app/products/4596217053229/shop" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"product_id": "4596217053229",
"shop": {
"id": "1084107",
"handle": "n1r478fp0h",
"name": "Wide Fit Shoes UK"
}
}
}Request schema
No body schema
Response schema
#/definitions/shopapp.productShopResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | shopapp.ProductShopResponse | No | ||||
| data.product_id | string | No | 4596217053229 | Shop.app ID of the product. | ||
| data.shop | object | No | Shop that sells the product. | |||
| data.shop.banner | string | No | URL of the shop's banner image. | |||
| data.shop.collections | array | No | Collections found on the shop's page. | |||
| data.shop.collections[].id | string | No | 292518002767 | Shop.app collection ID. | ||
| data.shop.collections[].slug | string | No | mens-dress-shoes | URL slug of the collection. | ||
| data.shop.collections[].title | string | No | Mens Dress Shoes | Collection title, for example `Mens Dress Shoes`. | ||
| data.shop.collections[].url | string | No | Shop.app page URL of the collection. | |||
| data.shop.description | string | No | Description of the shop. | |||
| data.shop.handle | string | No | marcnolan | Shop.app handle of the shop, as used in its page URL. | ||
| data.shop.id | string | No | 186720 | Shop.app shop ID. | ||
| data.shop.logo | string | No | URL of the shop's logo. | |||
| data.shop.name | string | No | Marc Nolan | Name of the shop. | ||
| data.shop.rating | number | No | 4.7 | Average shopper rating of the shop. | ||
| data.shop.reviews_count | integer | No | 19699 | Number of shopper ratings or reviews of the shop. | ||
| data.shop.shopify_id | string | No | Shopify ID of the shop. | |||
| data.shop.storefront | string | No | URL of the shop's own website. | |||
| data.shop.url | string | No | Shop.app page URL of the shop. | |||
| data.shop.uuid | string | No | UUID of the shop. | |||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/shop-app/products/4596217053229/shop" \
-H "x-api-key: $CRAWLORA_API_KEY"