Instagram User Info by ID
https://api.sandbase.ai/v1/api/instagram/v3/user-id-to-usernameReturns an Instagram profile's details, including username, full name, follower count, and media metrics using an account ID.
- Price
- $0.01USD / callFirst 100 calls per day free (shared per organization)
- Method
- POST
- Response
- JSON
- Parameters
- 1 required · 0 optional
Try the model
Playground
[
{
"data": {
"_rid": "3f5f16e51aa92",
"biography": "Máma @spock_jack",
"category": null,
"edge_follow": {
"count": 1597
},
"edge_followed_by": {
"count": 236
},
"edge_owner_to_timeline_media": {
"count": 138
},
"external_url": null,
"follower_count": 236,
"following_count": 1597,
"full_name": "Daniela Danielková",
"id": "1935268808",
"is_private": true,
"is_verified": false,
"media_count": 138,
"pk": "1935268808",
"profile_pic_url": "https://scontent-hou1-1.cdninstagram.com/v/t51.2885-19/297880959_359329313073216_1310225548824266977_n.jpg?stp=dst-jpg_e0_s150x150_tt6&_nc_cat=108&ig_cache_key=GH9NwRFAKBDgzkYBAOHIT90x2y4SbkULAAAB1501500j-ccb7-5&ccb=7-5&_nc_sid=669407&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLnd3dy42ODAuQzMifQ%3D%3D&_nc_ohc=gNrIUn9puqMQ7kNvwG3jnOd&_nc_oc=AdqsEsM9Bi2zvZth5I_wpFHr04YFEG5RTwAwxWklwW_syzhw0269ZJfJZXk5XlMbAbo&_nc_ad=z-m&_nc_cid=0&_nc_zt=24&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_ss=7f3ba&oh=00_AQN-6L2frf9BHgiviZP9PtC38RG3PrFM5knt1EsgQQ5grw&oe=6ACBDCA7",
"profile_pic_url_hd": "https://scontent-hou1-1.cdninstagram.com/v/t51.2885-19/297880959_359329313073216_1310225548824266977_n.jpg?stp=dst-jpg_s640x640_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby42ODAuYzIifQ&_nc_ht=scontent-hou1-1.cdninstagram.com&_nc_cat=100&_nc_oc=Q6cZ2gGy87zr7VyJob-tT6b1Dr_PGrDZQXc1VAzzwwOPZYOe4BdyMJrpR4q__TZv5a-PP1Q&_nc_ohc=12OVHT4oehoQ7kNvwEfgbMW&_nc_gid=u_9cz9ycH3M5e3HCAWz55g&edm=APs17CUBAAAA&ccb=7-5&ig_cache_key=GH9NwRFAKBDgzkYBAOHIT90x2y4SbkULAAAB6406400j-ccb7-5&oh=00_AQNx1-hulYu_JR9ITYUKp0qCrJ2wUtAzoyGhSc9UjIBq9Q&oe=6ACBDCA7&_nc_sid=10d13b",
"username": "dadygramik"
}
}
]Examples
Select an example to load its inputs and result into the playground.
Model card
Specifications
Pricing
- Base price
- $0.01 / run
- Daily free calls
- First 100 calls per day free (shared per organization)
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- user_id
- string · required
Access
- Provider
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/instagram/v3/user-id-to-username
- Authentication
- Bearer API key
API README
Instagram User Info by ID API
Look up an Instagram user profile by providing a numeric user_id. The response returns core account metrics including username, follower count, and profile picture URL.
Use cases
- Resolve an Instagram numeric account ID to its current username.
- Inspect follower and following counts alongside total media counts.
- Retrieve profile details such as full name, profile picture URL, and external website.
Request
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v3/user-id-to-username" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"user_id": "25025320"}'
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
user_id | string | Yes | Instagram user ID (numeric string) |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"external_url": "http://help.instagram.com",
"follower_count": 686584231,
"following_count": 305,
"full_name": "Instagram",
"id": "25025320",
"media_count": 8612,
"profile_pic_url": "https://instagram.fpit1-1.fna.fbcdn.net/v/t51.82787-19/550891366_186677716840013…",
"username": "<user>"
}
Notes
- The
user_idparameter requires a numeric string representing the target account identifier.
Related APIs
- Instagram Comment Bulk Translation: Returns bulk translations for multiple Instagram comments using a list of comment identifiers.
- Instagram Comment Replies (V3): Returns child comment replies for a specific Instagram comment using the post media ID and parent comment ID.
- Instagram Explore Feed: Returns curated sectional items from the Instagram explore feed, including layout formats and feed types.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/instagram/v3/user-id-to-username" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"user_id": "1935268808"
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
Instagram User Info by IDThis API Instagram | $0.01 per call | JSON | Jul 31, 2026 |
Instagram | $0.01 per call | JSON | Jul 31, 2026 |
Instagram | $0.01 per call | JSON | Jul 31, 2026 |
Instagram | $0.01 per call | JSON | Jul 31, 2026 |
Instagram | $0.003 per call | JSON | Jul 31, 2026 |
Instagram | $0.01 per call | JSON | Jul 31, 2026 |
Questions
FAQ
How do I use the Instagram User Info by ID API?
Send a POST request to https://api.sandbase.ai/v1/api/instagram/v3/user-id-to-username with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the Instagram User Info by ID API cost?
$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
What parameters does the Instagram User Info by ID API accept?
Required: user_id (string). The Parameters table and the Playground on this page list every field.
What does the Instagram User Info by ID API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a Instagram developer account or API key?
No. Instagram User Info by ID runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Instagram API access separately.
