# Imgur Post

Returns a single post by its 7-character id with title, description, images, view count, vote counts, tags and the author account. Failed requests are never charged.

- **Documentation:** [https://scrappa.co/docs/imgur-api/imgur_post](https://scrappa.co/docs/imgur-api/imgur_post)
- **API group:** Imgur API
- **Endpoint:** `GET https://scrappa.co/api/imgur/post`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | The 7-character Imgur post id (e.g. 7bdpcxx). |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/imgur/post?id=7bdpcxx"
```

## Example response

```json
{
    "success": true,
    "data": {
        "id": "7bdpcxx",
        "title": "Great sadness",
        "view_count": 32779,
        "upvote_count": 100,
        "is_album": true,
        "url": "https://imgur.com/gallery/7bdpcxx",
        "media": [
            {
                "url": "https://i.imgur.com/IVUbGHr.png",
                "type": "image"
            }
        ]
    },
    "meta": {
        "endpoint_family": "post",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
|  | The requested Imgur resource does not exist. |  |
|  | The Imgur upstream service is busy or unavailable. Not charged. meta.retryable is true. |  |
|  | The Imgur upstream service returned an unreadable payload. Not charged. meta.retryable is true. |  |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
