# Reddit post

GET/v1/posts/reddit/get

Get one Reddit post by URL, such as one cited in an AI answer.

## Price

- Price: $0.0008 per call
- Nothing found: Not charged when nothing is found
- No data fetched: Not charged

Each call holds this price, charges it only when data is returned and releases it otherwise. This rule is for data endpoints only: when collecting AI answers, a no-answer or refused result is still a result and is charged.

## Parameters

`url` string Required

The URL of a Reddit post. 8–2,048 characters.

## Headers

`Authorization` Required

Bearer followed by your API key.

`Idempotency-Key` Recommended

An ID you choose, up to 255 characters with no spaces. After a network error, resend with the same value and nothing is run or charged twice. It is remembered for 24 hours. The same value with different parameters returns idempotency_conflict.

`X-Max-Price` Optional

The most you are willing to spend in US dollars, such as 0.50. If the request could cost more, it is refused: nothing runs and nothing is charged.

`X-Source` Optional

Your own label, such as the product the call came from, up to 100 characters. Usage can be broken down by it.

`X-End-User` Optional

Your own label for the end user this call serves, up to 100 characters. Do not put names, emails or other personal data in it.

## Response

A successful call returns HTTP 200 with the data in `data.item`, one `Post` object. Every field is always present: `[]` means none this time and `null` means not available or unknown. What the call cost is in `meta.billing`.

| Field | Type | Description |
| --- | --- | --- |
| `id` | `string` | ID |
| `url` | `string \| null` | URL |
| `title` | `string \| null` | Title |
| `text` | `string \| null` | Text |
| `community` | `string \| null` | The community it was posted in |
| `author` | `string \| null` | Author |
| `score` | `integer \| null` | Score |
| `comments` | `integer \| null` | Number of comments |
| `published_at` | `string \| null` | When it was published; null if the platform does not say |

### Nested objects

**meta 7 fields**

| Field | Type | Description |
| --- | --- | --- |
| `capability` | `string` | Endpoint ID |
| `result_status` | `"complete" \| "partial" \| "empty"` | complete: everything. partial: only part of it. empty: nothing found |
| `fetched_at` | `string` | When the data was fetched |
| `cached` | `boolean` | Whether the result came from a cache. Always false at present |
| `replayed` | `boolean` | Whether this is the earlier result returned again for the same Idempotency-Key |
| `unavailable` | `string[]` | Fields that could not be provided this time |
| `billing` | `{ amount: string, currency: "USD", balance_after: string \| null }` | What this call was charged and the balance afterwards |

## Common errors

An error means nothing was charged, except `settlement_unknown`: it means billing is not known yet, so ask again with the same Idempotency-Key. [See every error code](https://www.askcrawl.com/docs/errors/).

| Error | HTTP | Meaning | Charged? |
| --- | --- | --- | --- |
| [`invalid_params`](https://www.askcrawl.com/docs/errors/#invalid_params) | 400 | A parameter is invalid | Not charged |
| [`max_price_exceeded`](https://www.askcrawl.com/docs/errors/#max_price_exceeded) | 400 | The most this could cost is above the limit you set | Not charged |
| [`insufficient_balance`](https://www.askcrawl.com/docs/errors/#insufficient_balance) | 402 | The balance is too low | Not charged |
| [`key_budget_exceeded`](https://www.askcrawl.com/docs/errors/#key_budget_exceeded) | 402 | This key's spending limit does not cover it | Not charged |
| [`idempotency_conflict`](https://www.askcrawl.com/docs/errors/#idempotency_conflict) | 409 | This Idempotency-Key was used for a different request | Not charged |
| [`upstream_failed`](https://www.askcrawl.com/docs/errors/#upstream_failed) | 502 | No result came back this time and nothing was charged; retry shortly | Not charged |
| [`timeout`](https://www.askcrawl.com/docs/errors/#timeout) | 504 | The data did not arrive in time; nothing was charged | Not charged |
| [`upstream_busy`](https://www.askcrawl.com/docs/errors/#upstream_busy) | 503 | Busy now; retry shortly | Not charged |
| [`call_in_progress`](https://www.askcrawl.com/docs/errors/#call_in_progress) | 409 | The call under this Idempotency-Key is still running; ask again with the same key shortly | Not charged |
| [`settlement_unknown`](https://www.askcrawl.com/docs/errors/#settlement_unknown) | 500 | Whether this was charged is not known yet; ask again with the same Idempotency-Key | Unknown yet |
| [`unauthorized`](https://www.askcrawl.com/docs/errors/#unauthorized) | 401 | No credential was sent, or it is invalid, disabled or expired | Not charged |
| [`rate_limited`](https://www.askcrawl.com/docs/errors/#rate_limited) | 429 | Too many requests, or too many calls in progress | Not charged |

```
curl -G https://api.askcrawl.com/v1/posts/reddit/get \
  --data-urlencode <b>"url=https://www.reddit.com/r/smallbusiness/comments/1abcde/example/"</b> \
  -H <b>"Authorization: Bearer $API_KEY"</b>
```

Real response data (excerpt)

```
{
  <b>"posts"</b>: [
    {
      <b>"id"</b>: <b>"jwpls3"</b>,
      <b>"url"</b>: <b>"https://www.reddit.com/r/RunningShoeGeeks/comments/jwpls3/recommended_running_shoes_for_lo…"</b>,
      <b>"title"</b>: <b>"Recommended running shoes for low arch/flat feet?"</b>,
      <b>"text"</b>: <b>"anyone have recommendations for flat footed/over pronating runners? I always get pain in m…"</b>,
      <b>"community"</b>: <b>"RunningShoeGeeks"</b>,
      <b>"author"</b>: <b>"示例账号"</b>,
      <b>"score"</b>: 1,
      <b>"comments"</b>: 4,
      <b>"published_at"</b>: <b>"2020-11-18"</b>
    }
  ]
}
```

Up

[API reference](https://www.askcrawl.com/docs/api/)

Related

[Reddit search](https://www.askcrawl.com/docs/api/posts-reddit-search/)

[YouTube search](https://www.askcrawl.com/docs/api/videos-youtube-search/)

Basis

[Errors and charges](https://www.askcrawl.com/docs/errors/)

[Billing, holds and settlement](https://www.askcrawl.com/docs/billing/)

Next

[Quickstart](https://www.askcrawl.com/docs/quickstart/)

[Connect an AI assistant](https://www.askcrawl.com/docs/mcp/)

> Page: https://www.askcrawl.com/docs/api/posts-reddit-get/ · Content date: 2026-12-01
