Skip to content

Get Artist Posts

Retrieve all social media posts from an artist across all platforms.

Endpoint

GET https://api.recoupable.com/api/posts

Parameters

NameTypeRequiredDescription
artist_account_idstringYesThe unique identifier of the artist account to fetch posts for
pagenumberNoThe page number to retrieve (default: 1)
limitnumberNoThe number of records per page (default: 20, max: 100)

Request Examples

cURL
curl -X GET "https://api.recoupable.com/api/posts?artist_account_id=YOUR_ARTIST_ACCOUNT_ID&page=1&limit=20" \
  -H "Content-Type: application/json"

Response Format

The API returns JSON responses. Here's an example success response:

{
  "status": "success",
  "posts": [
    {
      "id": "post123",
      "post_url": "https://twitter.com/artist/status/123456789",
      "updated_at": "2024-03-06T15:33:27Z"
    },
    {
      "id": "post456",
      "post_url": "https://instagram.com/p/abc123",
      "updated_at": "2024-03-05T18:22:15Z"
    }
  ],
  "pagination": {
    "total_count": 42,
    "page": 1,
    "limit": 20,
    "total_pages": 3
  }
}

Response Properties

Response Object

PropertyTypeDescription
statusstringStatus of the request ("success" or "error")
postsarrayList of posts from the artist across all social platforms
posts[].idstringUnique identifier for the post
posts[].post_urlstringDirect URL to the post on the social platform
posts[].updated_atstringISO timestamp of when the post was last updated
paginationobjectPagination metadata for the response
pagination.total_countnumberTotal number of records available
pagination.pagenumberCurrent page number
pagination.limitnumberNumber of records per page
pagination.total_pagesnumberTotal number of pages available