posts

Get the next or previous post in a search

Changed on

Returns the post that comes after (or before, with seq=prev) the given post within the supplied tag search. Falls back to the given post itself when the search yields nothing.

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}/show_seq.json

Request

  • Base URL: https://e621.net
  • URL: https://e621.net/posts/{id}/show_seq.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 move away from

Query parameters

seqstring

Direction to move in the sequence. prev moves backwards. Any other value moves forwards.

qstring

The tag search the sequence is taken from. Takes precedence over tags.

tagsstring

The tag search the sequence is taken from. Used when q is absent.

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 the neighbouring post

OR
OR
OR

Changes