posts

Get a post by ID

Changed on

Returns detailed information about a specific post identified by its ID.

When v2=true, the response uses the v2 Post format selected by mode (basic default, extended, or thumbnail). Otherwise the legacy format wrapped in { "post": {...} } is returned.

get/posts/{id}.json

Request

  • Base URL: https://e621.net
  • URL: https://e621.net/posts/{id}.json
  • Auth: one of:
    • none
    • HTTP basic
    • API key in query parameter login and API key in query parameter api_key

Path parameters

idinteger required

The unique ID of the post to retrieve

Query parameters

v2'true'

If "true", the response uses the v2 Post format. Otherwise the legacy format is returned.

mode'basic' | 'extended' | 'thumbnail' | 'thumbnails'

Selects the v2 Post payload shape. Only effective when v2=true. Default basic.

Response

Successful response containing post details

OR
OR
OR

Changes

    • ▲

      added to the response body oneOf list for the response status

    • ▲

      the response property /// became nullable for the status

    • ▲

      the response property /// became nullable for the status

    • ▲

      the response property /// became nullable for the status

    • ●

      added the new webp enum value to the /// response property for the response status

    • ○

      removed from the response body oneOf list for the response status

    • ○

      added the optional property // to the response with the status

    • ○

      removed the apng enum value from the /// response property for the response status

    • ▲

      added subschema #1 to the response body oneOf list for the response status

    • ▲

      the response's body type changed from object to no type for status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ●

      removed the optional property from the response with the status

    • ●

      removed the optional property from the response with the status

    • ●

      removed the optional property from the response with the status

    • ○

      added the new optional query request parameter mode

    • ○

      added the new optional query request parameter v2