API icon indicating copy to clipboard operation
API copied to clipboard

Current API being used on https://r34.app

Rule 34 API

PRs Welcome Uptime Robot status GitHub Repo stars

A JSON API that acts as a wrapper for most Booru sites.

This API was created for, and is used on the Rule 34 App.

Information

Goals

Developed with the following goals:

  • Provide a universal JSON response independent of the site.
  • Support most Booru types.
  • Be fast.

Booru support

Thanks to Universal Booru Manager (UBW), a utility package created by me, the API supports the following Booru types:

  • Gelbooru 0.2
  • Paheal
  • Danbooru
  • Danbooru 2
  • E621

Booru standards

This API respects all the Boorus that it communicates with.

  • Cache every request so that the original Booru site has less load.
  • Use correct HTTP headers for better CDN cache.

Development

If you are interested on modifying the API:

  • Read DOCUMENTATION.md.

Credit