# Flickr Photo Detail API Documentation

Retrieve one public Flickr photo: title, description (plain text), owner, dates (ISO 8601, UTC), view count, comment count, license (id and name), tags (list of strings), the photopage URL, media type and public geo location when available, plus every available image size with width, height and direct source URLs. A valid photo with zero views is a successful response.

- **Documentation:** [https://scrappa.co/docs/flickr-api/flickr_photo](https://scrappa.co/docs/flickr-api/flickr_photo)
- **API group:** Flickr API
- **Endpoint:** `GET https://scrappa.co/api/flickr/photo`

## 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 |
| --- | --- | --- | --- |
| `photo_id` | string | Yes | Flickr photo ID (numeric string). Example: 40328850763. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/flickr/photo?photo_id=40328850763"
```

## Example response

```json
{
    "success": true,
    "data": {
        "id": "40328850763",
        "owner": {
            "nsid": "151302305@N08",
            "username": "rudyeleazardubon",
            "path_alias": "rudydubon"
        },
        "title": "Sunrise",
        "description": "I wake up early, so please fave this one for the waking!",
        "date_taken": "2019-02-19T06:38:23Z",
        "date_upload": "2019-03-05T23:02:08Z",
        "views": 2078,
        "comments_count": 2,
        "license": 0,
        "license_name": "All Rights Reserved",
        "tags": [
            "sunrise"
        ],
        "url": "https://www.flickr.com/photos/rudydubon/40328850763/",
        "media": "photo",
        "sizes": [
            {
                "label": "Square",
                "width": 75,
                "height": 75,
                "source": "https://live.staticflickr.com/7809/40328850763_7f873eb923_s.jpg",
                "url": "https://www.flickr.com/photos/rudydubon/40328850763/sizes/sq/",
                "media": "photo"
            }
        ]
    },
    "meta": {
        "endpoint_family": "photo_detail",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Photo Not Found | The requested Flickr Photo was not found. This response is not billable. |
| 422 | Validation Error | A public parameter or range is invalid. This response is not billable. |

## 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)
