Skip to content

Rule-34/API

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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:

Credit