AliExpress Categories API
Scrape AliExpress Categories data with one API call. Returns the AliExpress category tree: parent and subcategory ids and names. Use a category_id on search or search/hot.
Last updated October 2026Maintained by the SocialCrawl team
Returns the AliExpress category tree: parent and subcategory ids and names.
Use it to get a category_id before calling search or search/hot.
Searching 68 platforms in parallel
What can you do with the Categories API?
The Categories endpoint gives you structured AliExpress data with computed fields in a single request. No scraping infrastructure to build or maintain.
Example Request
curl -H "x-api-key: YOUR_API_KEY" \
"https://www.socialcrawl.dev/v1/aliexpress/categories"import requests
response = requests.get(
"https://www.socialcrawl.dev/v1/aliexpress/categories",
headers={"x-api-key": "YOUR_API_KEY"},
)
data = response.json()const response = await fetch(
"https://www.socialcrawl.dev/v1/aliexpress/categories",
{
headers: { "x-api-key": "YOUR_API_KEY" },
},
);
const data = await response.json();What does the AliExpress Categories API return?
Every response follows one unified schema. Here is a real, unmodified response body, so you can see the exact fields you get back before spending a credit.
Example response
{
"success": true,
"platform": "aliexpress",
"endpoint": "/v1/aliexpress/categories",
"data": {
"items": [
{
"category_name": "Food",
"category_id": 2
},
{
"parent_category_id": 2,
"category_name": "Canned Food1",
"category_id": 200183144
}
],
"dropped": 0
},
"credits_used": 1,
"request_id": "req_example000000",
"cached": false,
"pagination": {
"next_cursor": null,
"has_more": false,
"page_size": 564
},
"credits_remaining": 9999,
"source": "captured",
"captured_at": "2026-10-02T12:54:05.575Z",
"redacted": true
}Live sample illustrating the unified response shape. Field values reflect the record you query.
How does the AliExpress Categories API work?
Send a GET request with your API key and get back clean, structured JSON in our unified schema. Supported computed fields are populated when the source provides the required inputs.
Method
GET
Response
JSON
How do you scrape social media data in seconds?
The fastest social media scraping API for developers. Scrape profiles, posts, comments, and analytics from 68 platforms covering 10B+ monthly active users.
One schema, every platform
Query 68 platforms with identical response structures. Write your integration once.
Computed fields, not just scraped
When an endpoint supports these metrics and the source provides the required inputs, the normalized record includes engagement_rate, estimated_reach, content_category, and language. Ready to use.
See your data before you code
Visual Data Explorer. Paste any URL, get rich result cards, sortable tables, CSV export.
import requests
response = requests.get(
'https://www.socialcrawl.dev/v1/tiktok/profile',
params={'handle': 'charlidamelio'},
headers={'x-api-key': 'sc_YOUR_API_KEY'}
)
data = response.json(){
"success": true,
"platform": "tiktok",
"data": {
"author": {
"username": "charlidamelio",
"followers": 152400000
},
"engagement": {
"likes": 12400000000,
"engagement_rate": 0.087
},
"metadata": {
"language": "en",
"content_category": "lifestyle"
}
}
}Ready to scrape AliExpress Categories data?
Get your API key and start pulling AliExpress data in under 60 seconds.
