LurkAPI
Docs · User reels

User reels

A page of public reel previews with play, like and comment counts.

1 credit per callFresh within 3 minutesMCP tool: instagram_user_reels
GEThttps://api.lurkapi.com/v1/instagram/user/reels

Example responseView as markdown

When to use this

The public reels tab returns previews and engagement counts. Captions, timestamps and video URLs are absent; call the Post endpoint with a reel's code for those fields. Pass end_cursor as after for the next page. Private reels are unavailable.

Parameters

All parameters go in the query string.

ParameterDescription
username
stringoptional
Instagram username, with or without @, or a profile URL. Required unless url is given.
Example
nike
url
stringoptional
An instagram.com profile URL. Required unless username is given.
first
integeroptional
Requested page size, 1–50; default 12. Instagram may return fewer items.
Default
12
Example
12
after
stringoptional
Pass end_cursor from the previous page unchanged; omit for the first page.

Example request

Replace YOUR_API_KEY with your key, or set LURKAPI_KEY for the code. Get a free key.

Language

Example response

A real response from this endpoint, captured from the live API and trimmed to a couple of items. Strings over 96 characters (mostly signed media URLs) are cut short and end in ….

Show the example response (1 KB)
{
  "success": true,
  "credits_remaining": 99,
  "credits_charged": 1,
  "reels": [
    {
      "pk": "3993300839542953931",
      "code": "DdrDfTGOhfL",
      "url": "https://www.instagram.com/reel/DdrDfTGOhfL/",
      "display_url": "https://scontent-iad3-1.cdninstagram.com/v/t51.82787-15/797725010_186670…",
      "like_count": 107,
      "comment_count": 17,
      "play_count": 12145,
      "clips_tab_pinned_user_ids": []
    },
    {
      "pk": "3991849403537918302",
      "code": "Ddl5eH-u4le",
      "url": "https://www.instagram.com/reel/Ddl5eH-u4le/",
      "display_url": "https://scontent-iad6-1.cdninstagram.com/v/t51.82787-15/809201733_186664…",
      "like_count": 67593,
      "comment_count": 1062,
      "play_count": 2317934,
      "clips_tab_pinned_user_ids": []
    }
  ],
  "end_cursor": "AQHTKRUgapY-YIJL3ILe9dr1pwmQSvqY4V6JQg3_BluiL95O4Xl7M2s9Y8jH-6y7-4eP1wGbT1xZsWB58pzKat-6Pw",
  "has_next_page": true
}

Response fields

Every field of a successful response. [] marks a list: a[].b is the b of each item in a. nullable fields can be null; optional fields can be missing.

Show all 14 fields
FieldTypeDescription
successtrueAlways true here; errors have success: false.
credits_remainingnumberYour balance after this call. On anonymous playground calls: free tries left today.
credits_chargednumberCredits this call cost; 0 on free endpoints. On anonymous playground calls: tries used (1).
reelsobject[]Reel previews in Instagram's reels-tab order.
reels[].pkstringNumeric reel media id, represented as a string.
reels[].codestringThe reel's case-sensitive shortcode; pass it to the Post endpoint.
reels[].urlstringCanonical Instagram reel URL.
reels[].display_urlstringnullableReel preview image URL; CDN links can expire; null when not returned.
reels[].like_countnumbernullableLike count; null when not shown or returned. A null count is not zero.
reels[].comment_countnumbernullableComment count; null when not shown or returned. A null count is not zero.
reels[].play_countnumbernullablePlay count; null when not shown or returned. A null count is not zero.
reels[].clips_tab_pinned_user_idsstring[]nullableUser ids that pinned this reel in their reels tab; null when not returned.
end_cursorstringnullableOpaque pagination cursor; pass it as after for the next page; null when not returned.
has_next_pagebooleanWhether Instagram reports another page. A false value ends pagination.

Pagination

Pass a cursor from a previous response as after to load more (see When to use this). Each call costs 1 credit.

Caching and freshness

Responses are cached for up to 3 minutes, so a repeat call within that window can return the same data. It still costs 1 credit.

Errors

Errors return { success: false, error, code, docs } with the HTTP status below. Validation errors, 401/402/429 rejections and 5xx failures are free; not_found is charged (how charging works). All error codes.

StatusCodeMeaning
401missing_api_keyNo API key. Send it in the x-api-key header.
401invalid_api_keyThe key is unknown or was revoked.
402insufficient_creditsNot enough credits for this call. Buy a pack or wait for tomorrow's top-up.
403not_publicThe platform confirmed this account or content isn't available to logged-out visitors. Use a publicly visible target. Charged when the platform was checked.
404not_foundThe endpoint, or the thing you asked for (ad, post, subreddit), doesn't exist. Charged when the platform was checked.
405method_not_allowedEndpoints take GET with query params.
429rate_limitedToo many calls at once. Wait for the retry-after seconds, then retry.
500internal_errorSomething broke on our side. Retry; 5xx errors are free.
502upstream_errorThe platform didn't give a usable answer. Retry; 5xx errors are free.
503upstream_busyAll our connections to the platform are busy. Retry in a few seconds; 5xx errors are free.
504upstream_timeoutThe platform took over 30 seconds to answer. Retry; timeouts are free.

Use it in Claude

Once LurkAPI is connected to Claude, this endpoint is the instagram_user_reels tool. Ask in plain English, for example:

Ask Claude
Use LurkAPI's instagram_user_reels with username "nike", first "12" and summarize what you find.

Claude calls instagram_user_reels with arguments like these, and each call costs 1 credit:

Tool arguments
{
  "username": "nike",
  "first": "12"
}

Tool results skip nulls and empty lists to save tokens.