Instagram

Get the connected account profile

Returns the profile of the connected account itself, including its follower, following and post counts.

GET

/api/v1/instagram/me

Query parameters

connectedAccountId

required

string · uuid

Connected account to act as

Response

200Connected account profile.

profile

object

username

string | null

profileUrl

string | null

firstName

string | null

Split out of fullName, the one name a profile carries.

lastName

string | null

fullName

string | null

biography

string | null

category

string | null

Business and creator accounts only.

location

string | null

City, on business accounts only.

imageUrl

string | null

imageUrlLarge

string | null

backgroundImageUrl

string | null

followerCount

number | null

followingCount

number | null

postCount

number | null

externalLinks

string[]

Links in the biography.

isPrivate

boolean

True when only a follower can read the posts and followers.

isVerified

boolean

remainingUsage

object

Remaining allowance for this action on the connected account across hourly, daily, and weekly windows, and its minimum wait. Each action type has its own limits. For an Instagram action that changes something, the windows also take the limit for all such actions of the account together into account.

hour

integer | null

Remaining hourly allowance for this action. Null when this action has no hourly cap.

day

integer

Remaining daily allowance for this action.

week

integer | null

Remaining weekly allowance for this action. Null when this action has no weekly cap.

minWaitSeconds

integer | null

The least time in seconds between two of this action on the account. Null when it has no minimum wait.

requestId

string · uuid

Id of this request, for support and troubleshooting

Errors

  • 400: Bad request
  • 401: Unauthorized: missing or invalid API key
  • 403: Forbidden
  • 404: Not found
  • 422: Invalid request payload
  • 429: The call came before the minimum wait for this action ended, or the account has reached its limit. For the minimum wait, `data.reason` is `min_wait`, `data.minWaitSeconds` is how long the wait is, and `data.retryAfterSeconds`, also sent as the Retry-After header, is how much of it is left. For a limit, `data.period` names the window: `hour`, `day` or `week`, and `data.retryAt` says when to try again. The wait and the limit can also be the ones for all actions of the account together. `data.action` still names the action that was called.

Search docs

Search documentation, API reference, and MCP tools

We use cookies to enhance your experience on Needle and keep your data secure. Privacy Policy