Instagram User Posts
Instagram User Posts is used to fetch post lists from Instagram user pages.
- Fetch user posts by profile URL
- Support page-based post pagination
- Return post titles, media URLs, and attached content
- Suitable for content archiving and custom social data collection
Use XCrawl to Fetch Instagram User Posts
Usage
curl -s -X POST 'https://run.xcrawl.com/v1/data' \
-H 'Authorization: Bearer $XCRAWL_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"engine": "instagram_user_posts",
"location": "US",
"url_list": ["https://www.instagram.com/nba/"],
"page": 1
}'Request parameter notes:
enginemust beinstagram_user_postslocationspecifies the target regionurl_listaccepts one or more Instagram profile URLspagespecifies which post page to fetch
Response Example
{
"result": [
{
"content": {
"result": [
{
"title": "DIY hack by 123 go!",
"url": "https://scontent.cdninstagram.com/...",
"note": "funnyhacks ..."
}
]
}
}
]
}Parameters
Required Parameters
| Parameter | Type | Description |
|---|---|---|
location | string | Specifies the target region. |
url_list | array | Accepts one or more Instagram profile URLs. |
page | number | Specifies which post page to fetch. |
Parameter Notes
locationdefaults toUSpagedefaults to1- URLs in
url_listshould be full profile URLs
Response Fields
Response data is returned under result[].content.result[].
| Field | Type | Description |
|---|---|---|
title | string | Post title or leading caption text. |
url | string | Main media URL or cover image URL. |
note | string | Attached post content, often including caption text and media details. |
Note: media-related values are often merged into note, which is suitable for raw content archiving or downstream parsing.
