# Imgur User

Returns a user profile (username, bio, reputation, avatar, trophies) and a page of public submissions. Submissions use 0-indexed pages. Failed requests are never charged.

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

## 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 |
| --- | --- | --- | --- |
| `username` | string | Yes | The Imgur username (e.g. SomebodythatIusedtonope). |
| `page` | integer | No | Submissions page, 0-indexed (default 0). |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/imgur/user?username=SomebodythatIusedtonope"
```

## Example response

```json
{
    "success": true,
    "data": {
        "profile": {
            "id": 144800939,
            "username": "SomebodythatIusedtonope",
            "url": "https://imgur.com/user/SomebodythatIusedtonope",
            "reputation_count": 648119,
            "reputation_name": "Glorious"
        },
        "submissions": [
            {
                "id": "gnVw9DV",
                "title": "Just in time for Halloween",
                "view_count": 84,
                "is_album": true,
                "url": "https://imgur.com/gallery/gnVw9DV"
            }
        ],
        "has_more": true
    },
    "meta": {
        "endpoint_family": "user",
        "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)
