Instagram posts, user profiles, comments, and hashtag search.
- Tag search returns matching hashtags for a given keyword query
- User profiles include bio, follower/following counts, and recent posts
- Finding the username: Go to the profile on Instagram — the username is the last part of the URL (e.g.
instagram.com/nasa→nasa). Do not use display names or brand names in other languages. Watch out for dots vs underscores (e.g.panasonic.taiwanis different frompanasonictaiwan)
Search
GET /instagram/posts/search — 3 credits per page
Search Instagram posts by keyword. Results can include feed posts, Reels/clips, and carousel posts.
| Parameter | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Search query, max 500 characters |
pages | number | No | Number of pages to fetch, 1-10. Defaults to 1 |
get_sentiment | boolean | No | Include API Direct sentiment analysis |
cURL
curl -H "x-api-key: sk_byc_xxx" \
"https://api.bycrawl.com/instagram/posts/search?q=technology&pages=1"Response
{
"posts": [
{
"id": "DX5ihjwjQ_0",
"shortcode": "DX5ihjwjQ_0",
"title": "@technology on Instagram",
"url": "https://instagram.com/p/DX5ihjwjQ_0",
"createdAt": "2026-05-04T01:55:09.000Z",
"caption": "Swipe to watch how this 13 year old appears to solve...",
"likeCount": 22165,
"commentCount": 379,
"shareCount": 0,
"repostCount": 0,
"viewCount": null,
"isVideo": false,
"mediaType": "carousel_container",
"author": {
"username": "technology",
"fullName": "Technology",
"isVerified": true
},
"hashtags": [],
"mentions": []
}
],
"pages": 1,
"count": 8
}Tags
GET /instagram/tags/search — 2 credits
Search Instagram hashtags by keyword.
| Param | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Tag search query |
cURL
curl -H "x-api-key: sk_byc_xxx" \
"https://api.bycrawl.com/instagram/tags/search?q=travel"Response
{
"tags": [
{
"name": "travel",
"mediaCount": 793685751,
"formattedMediaCount": "793M"
},
{
"name": "travelphotographer",
"mediaCount": 5620420,
"formattedMediaCount": "5.6M"
}
]
}Users
GET /instagram/users/:username — 4 credits
Get Instagram user profile with recent posts.
| Param | Type | Required | Description |
|---|---|---|---|
username | string | Yes | Instagram username |
cURL
curl -H "x-api-key: sk_byc_xxx" \
https://api.bycrawl.com/instagram/users/zuckResponse
{
"username": "nasa",
"fullName": "NASA",
"biography": "Exploring the universe and our home planet...",
"followerCount": 99209932,
"followingCount": 93,
"postCount": 4628,
"highlightCount": 18,
"isVerified": true,
"isPrivate": false,
"profilePicUrl": "https://...",
"externalUrl": "https://www.nasa.gov/",
"category": null,
"bioLinks": [
{
"title": "",
"url": "https://www.nasa.gov"
}
],
"isProfessional": true,
"pronouns": [],
"recentPosts": [
{
"id": "3846946165649269175",
"shortcode": "DVjGSfZk2G3",
"caption": "Catch this month's planetary hangout...",
"likeCount": 40190,
"commentCount": 243,
"isVideo": true,
"thumbnailUrl": "https://...",
"takenAt": "2026-03-06T15:42:53.000Z",
"mediaType": "video",
"location": null,
"taggedUsers": [],
"displayUrl": "https://...",
"accessibilityCaption": null
}
]
}Posts
GET /instagram/posts/:shortcode — 2 credits
Get a single Instagram post by shortcode.
| Param | Type | Required | Description |
|---|---|---|---|
shortcode | string | Yes | Post shortcode (from URL) |
cURL
curl -H "x-api-key: sk_byc_xxx" \
https://api.bycrawl.com/instagram/posts/CxBcDeFgHiJResponse
{
"id": "3846946165649269175",
"shortcode": "DVjGSfZk2G3",
"caption": "Catch this month's planetary hangout...",
"likeCount": 40192,
"commentCount": 243,
"isVideo": true,
"thumbnailUrl": "https://...",
"takenAt": "2026-03-06T15:42:53.000Z",
"mediaType": "video",
"location": null,
"taggedUsers": [],
"displayUrl": "https://...",
"accessibilityCaption": null,
"owner": {
"id": "528817151",
"username": "nasa",
"fullName": "NASA",
"profilePicUrl": "https://...",
"isVerified": true
},
"videoUrl": "https://...",
"dimensions": {
"width": 1080,
"height": 1920
},
"videoViewCount": 371334
}GET /instagram/posts/:shortcode/comments — 3 credits
Get comments on an Instagram post with pagination.
| Param | Type | Required | Description |
|---|---|---|---|
shortcode | string | Yes | Post shortcode |
cursor | string | No | Pagination cursor |
cURL
curl -H "x-api-key: sk_byc_xxx" \
https://api.bycrawl.com/instagram/posts/CxBcDeFgHiJ/commentsResponse
{
"comments": [
{
"id": "18203561371331194",
"text": "Can NASA lay an egg that looks like the moon...",
"createdAt": "2026-03-07T16:50:06.000Z",
"owner": {
"username": "para_dise3339",
"profilePicUrl": "https://..."
},
"likeCount": 0,
"replyCount": 0
}
],
"nextCursor": "eyJzZXJ2ZXJfY3Vyc29yIjogIlFWRk..."
}GET /instagram/users/:username/posts — 3 credits
Get an Instagram user’s posts with pagination.
| Param | Type | Required | Description |
|---|---|---|---|
username | string | Yes | Instagram username |
cursor | string | No | Pagination cursor |
cURL
curl -H "x-api-key: sk_byc_xxx" \
"https://api.bycrawl.com/instagram/users/zuck/posts"Response
{
"posts": [
{
"id": "3846946165649269175",
"shortcode": "DVjGSfZk2G3",
"caption": "Catch this month's planetary hangout...",
"likeCount": 40192,
"commentCount": 243,
"isVideo": true,
"thumbnailUrl": "https://...",
"takenAt": "2026-03-06T15:42:53.000Z",
"mediaType": "video",
"location": null,
"taggedUsers": [],
"displayUrl": "https://...",
"accessibilityCaption": null
}
],
"nextCursor": "eyJ1IjoiNTI4ODE3MTUxIiwiYyI6Ij..."
}Last updated on