Skip to content

Instantly share code, notes, and snippets.

What would you like to do?

Differences between old and new Derpibooru APIs

Single image

Old route:
New route:

  • New API's response is wrapped in image:{} object
  • original_formatformat
  • file_namename
  • imageview_url
  • Removed is_optimized
  • Removed is_rendered
  • Added processed (bool)
  • Added thumbnails_generated (bool)
  • Added wilson_score (double)
  • Changed tags from string to string[]
  • Changed date format from 2012-07-15T04:32:31.000Z to 2012-07-15T04:32:31, removing miliseconds and timezone
  • Image URLs now start with proper https:// protocol instead of //

Search results

Old route:
New route:

  • search => images
  • Image objects within images follow single-image changes
  • Removed total
  • For random image, &sf=random instead of &random_image=y. Returns a whole list of images instead of an image ID.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment