Instagram · Content details

Posts at a location

Send location IDs or links; get the posts tagged at each location with caption, counts, owner and media links.

POST/v1/instagram/locationPosts

$0.0023per record

1,000 records
≈ $2.30
minimum per page of 10 records
$0.00269

Works with trial balancePages with a cursor

Try it in the console

Send it

POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.

curl -X POST "https://api.silklinedata.com/v1/instagram/locationPosts" \
  -H "Authorization: Bearer $SILKLINE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":5,"locations":["115963528414384"]}'

What comes back

Records from a real request on 2026-11-09. Names, avatars and profile links of ordinary users show as <masked>; long text is cut here, not in the API.

200 OK · fetched 2026-11-09
{
  "data": [
    {
      "type": "post",
      "postId": "4026501586192796080",
      "shortCode": "DfhAdv8kYmw",
      "url": "https://www.instagram.com/p/DfhAdv8kY…",
      "postType": "Sidecar",
      "productType": "carousel_container",
      "caption": "Can ship",
      "hashtags": [],
      "mentions": [],
      "createdAt": "2026-11-09T09:26:55Z",
      "likeCount": 0,
      "commentCount": 0,
      "playCount": null,
      "viewCount": null,
      "shareCount": null,
      "repostCount": null,
      "saveCount": null,
      "durationSeconds": null,
      "width": 3072,
      "height": 4096,
      "displayUrl": "https://scontent-cph2-1.cdninstagram.…",
      "videoUrl": null,
      "altText": null,
      "isVideo": false,
      "isPinned": false,
      "isSponsored": false,
      "commentsDisabled": null,
      "likesHidden": false,
      "ownerId": "<masked>",
      "ownerUsername": "<masked>",
      "ownerFullName": "<masked>",
      "ownerVerified": false,
      "ownerPrivate": false,
      "ownerProfilePicUrl": "<masked>",
      "taggedUsers": [
        "baytownplug6"
      ],
      "coauthors": [],
      "locationId": "115963528414384",
      "locationName": "Houston, Texas",
      "musicId": null,
      "musicTitle": null,
      "musicArtist": null,
      "isOriginalAudio": null,
      "childPosts": [
        {
          "postId": "4026500037642535355",
          "postType": "Image",
          "displayUrl": "https://scontent-cph2-1.cdninstagram.…",
          "videoUrl": null,
          "width": 3072,
          "height": 4096,
          "durationSeconds": null
        },
        {
          "postId": "4026500046475607060",
          "postType": "Image",
          "displayUrl": "https://scontent-cph2-1.cdninstagram.…",
          "videoUrl": null,
          "width": 3072,
          "height": 4096,
          "durationSeconds": null
        },
        {
          "postId": "4026500053454990027",
          "postType": "Image",
          "displayUrl": "https://scontent-cph2-1.cdninstagram.…",
          "videoUrl": null,
          "width": 3072,
          "height": 4096,
          "durationSeconds": null
        }
      ],
      "sourceInput": "115963528414384"
    },
    {
      "type": "post",
      "postId": "4026500872652795249",
      "shortCode": "DfhATXaRS1x",
      "url": "https://www.instagram.com/reel/DfhATX…",
      "postType": "Video",
      "productType": "clips",
      "caption": "Holiday party coming up? Don’t forge…",
      "hashtags": [
        "HoustonEvents",
        "mobilebartending",
        "HoustonBartender"
      ],
      "mentions": [],
      "createdAt": "2026-11-09T09:26:52Z",
      "likeCount": 0,
      "commentCount": 0,
      "playCount": 0,
      "viewCount": null,
      "shareCount": null,
      "repostCount": null,
      "saveCount": 0,
      "durationSeconds": 22.034,
      "width": 1080,
      "height": 1920,
      "displayUrl": "https://scontent-cph2-1.cdninstagram.…",
      "videoUrl": "https://scontent-cph2-1.cdninstagram.…",
      "altText": null,
      "isVideo": true,
      "isPinned": false,
      "isSponsored": false,
      "commentsDisabled": null,
      "likesHidden": false,
      "ownerId": "<masked>",
      "ownerUsername": "<masked>",
      "ownerFullName": "<masked>",
      "ownerVerified": true,
      "ownerPrivate": false,
      "ownerProfilePicUrl": "<masked>",
      "taggedUsers": [],
      "coauthors": [],
      "locationId": "115963528414384",
      "locationName": "Houston, Texas",
      "musicId": "481252795761329",
      "musicTitle": "All I Want for Christmas Is You (Live…",
      "musicArtist": "Mariah Carey",
      "isOriginalAudio": false,
      "childPosts": [],
      "sourceInput": "115963528414384"
    }
  ],
  "cursor": "c1.Hq8vR2mTn5wK.yJ0dXA…",
  "meta": {
    "request_id": "req_01JD8Q…",
    "charged_usd": "0.004600",
    "balance_usd": "9.875000",
    "items": 2
  }
}

Fields 44

FieldTypeExample value
typestringpost
postIdstring4026501586192796080
shortCodestringDfhAdv8kYmw
urlstringhttps://www.instagram.com/p/DfhAdv8kYmw/
postTypestringSidecar
productTypestringcarousel_container
captionstringCan ship
hashtagsarray[]
mentionsarray[]
createdAtstring2026-11-09T09:26:55Z
likeCountnumber0
commentCountnumber0
playCountnullnull
viewCountnullnull
shareCountnullnull
repostCountnullnull
saveCountnullnull
durationSecondsnullnull
widthnumber3072
heightnumber4096
displayUrlstringhttps://scontent-cph2-1.cdninstagram.com/v/t51.82787-15/8943…
videoUrlnullnull
altTextnullnull
isVideobooleanfalse
isPinnedbooleanfalse
isSponsoredbooleanfalse
commentsDisablednullnull
likesHiddenbooleanfalse
ownerIdstring<masked>
ownerUsernamestring<masked>
ownerFullNamestring<masked>
ownerVerifiedbooleanfalse
ownerPrivatebooleanfalse
ownerProfilePicUrlstring<masked>
taggedUsersarray["baytownplug6"]
coauthorsarray[]
locationIdstring115963528414384
locationNamestringHouston, Texas
musicIdnullnull
musicTitlenullnull
musicArtistnullnull
isOriginalAudionullnull
childPostsarray[{"postId":"4026500037642535355","postType":"Image","display…
sourceInputstring115963528414384

Parameters 2

NameTypeRequiredDescriptionExample
limitintegernoHow many records to return, 1 to 100. A request never returns more than this.5
locationsarrayyesLocation IDs (115963528414384) or links such as https://www.instagram.com/explore/locations/115963528414384/houston-texas/. Find IDs with search type locations or nearby. Leave it empty to use a sample location.["115963528414384"]

Paging

Send the cursor of the last answer back with the same parameters to get the next page. Each page is a request of its own, charged on its own; the last page has cursor null.

JavaScript
const params = {"locations":["115963528414384"]};
const records = [];
let cursor = null;
do {
  const response = await fetch("https://api.silklinedata.com/v1/instagram/locationPosts", {
    method: "POST",
    headers: { Authorization: `Bearer ${process.env.SILKLINE_KEY}`, "Content-Type": "application/json" },
    body: JSON.stringify({ ...params, limit: 100, ...(cursor ? { cursor } : {}) }),
  });
  const answer = await response.json();
  records.push(...answer.data);
  cursor = answer.cursor;
} while (cursor);
console.log(records.length);

What a request costs

You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.

Here a page holds up to 10 records and its minimum is $0.00269; a request for 100 records reads 10 pages.

  • 1 record: up to $0.00269
  • 20 records: up to $0.046
  • 100 records: up to $0.23

The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.

Questions

What parameters does Posts at a location take?

Required: locations. Every request also takes limit (1 to 100).

How many records does one request return?

Up to 100 (limit 1 to 100). A page holds up to 10 records, so 100 records take 10 pages in one request.

Can I page through more results?

Yes. While the answer carries a cursor, send it back with the same parameters for the next batch.

How much does it cost?

Per record: record $0.0023. The minimum is $0.00269 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $0.23.

What does a request cost when it fails or comes back empty?

You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.