---
title: "GET /threads/user-posts"
method: GET
path: "/threads/user-posts"
tags: ["Threads"]
---

# GET /threads/user-posts

`GET /threads/user-posts`

## Request

- Base URL: `https://scrappa.co/api`
- URL: `https://scrappa.co/api/threads/user-posts`
- Auth: API key in header `X-API-KEY`

## Query parameters

- `username` string, required
- `user_id` integer, nullable

## Response `200`

- string

## Other responses

- `401`: Unauthorized - API key is missing or invalid
- `404`: Returned, and not billed, when the handle, post code or hashtag does not exist or is not publicly available.
- `422`: Returned, and not billed, when a parameter is missing or outside its allowed range.
- `503`: A retryable, non-billable failure. The upstream returned a degraded or unreadable response, or the request budget ran out.

---

[API](https://skmtc.dev/scrappa/apis/scrappa-api-documentation.md) · [All operations](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/llms.txt) · [OpenAPI document](https://skmtc.dev/scrappa/apis/scrappa-api-documentation/revisions/1e1aa78ff103?raw)
