curl --request POST \
--url https://api.henrylabs.ai/v1/merchants/fetch \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"cursor": "2023-01-01T00:00:00.000Z",
"limit": 40,
"host": "nike.com",
"name": "nike",
"categories": [
"apparel",
"footwear"
]
}
'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": [
{
"host": "<string>",
"name": "<string>",
"description": "<string>",
"website": {
"urls": [
{
"value": "<string>",
"type": "landing"
}
]
},
"logo": {
"urls": [
{
"value": "<string>"
}
]
},
"categories": [
"automotive"
]
}
]
}Fetch a list of merchants with optional filtering and pagination.
curl --request POST \
--url https://api.henrylabs.ai/v1/merchants/fetch \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"cursor": "2023-01-01T00:00:00.000Z",
"limit": 40,
"host": "nike.com",
"name": "nike",
"categories": [
"apparel",
"footwear"
]
}
'{
"success": true,
"status": "<string>",
"message": "<string>",
"data": [
{
"host": "<string>",
"name": "<string>",
"description": "<string>",
"website": {
"urls": [
{
"value": "<string>",
"type": "landing"
}
]
},
"logo": {
"urls": [
{
"value": "<string>"
}
]
},
"categories": [
"automotive"
]
}
]
}Cursor returned from the previous response
"2023-01-01T00:00:00.000Z"
Limit the number of results
1 <= x <= 10040
Filter merchants by host
1"nike.com"
Filter merchants by name (partial match)
1"nike"
Filter merchants by categories
1automotive, baby_and_kids, ecommerce, electronics_and_gadgets, fashion_and_accessories, finance, food, health_and_beauty, home_and_living, lifestyle_and_entertainment, other, sports_and_outdoor, travel, education Was this page helpful?