For Agents
List, create, update, and delete Danbooru posts, tags, artists, and comments using either an api_key query parameter or HTTP Basic credentials.
Install Jentic One Beta
Jentic One is a self-hosted execution layer for AI agents. It lets your agent call the Danbooru Anime API, or any other public or private API you need. You set the rules, the agent never sees your credentials, and every call is logged.
Two steps, two machines. Install the instance in a safe environment, then register your agent from wherever it runs.
Step 1: Jentic One Host machine
# On the machine that will host your Jentic One instance:
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | shStep 2: Agent machine
# On the machine where your agent runs (keep this separate from the instance):
curl -fsSL https://raw.githubusercontent.com/jentic/jentic-one/main/tools/install.sh | sh
jentic register # connects your agent to your Jentic One instanceJentic One is in public beta. The setup above keeps your agent separate from the instance, which is what you want before using real credentials: an agent running as the same OS user as Jentic One can read its stored keys directly. Just evaluating? A single local install is fine to start. See the secure deployment guide for the tiers.
What an agent can do with Danbooru Anime API.
List, create, update, and delete posts via /posts.json endpoints
Fetch a random post with GET /posts/random.json
List and create tags through /tags.json
List and create artists through /artists.json
GET STARTED
Use for: I need to list recent posts that match a Danbooru tag, Get a random Danbooru post for a daily feed, Create a new tag entry on Danbooru, List artists matching a name fragment
Not supported: Does not handle hosted file storage outside posts, account billing, or moderator actions beyond tag and comment creation — use for Danbooru post, tag, artist, and comment operations only.
The Danbooru Anime API gives programmatic access to the Danbooru image board's tagging system, exposing posts, tags, artists, and comments. The curated specification covers 12 endpoints: list and CRUD operations on posts, list and create operations on tags, artists, and comments, plus a random-post endpoint. Authentication is supported via an api_key query parameter or HTTP Basic. The API is suited to image search, dataset curation, and content tools that rely on Danbooru's deep tag taxonomy.
List and create comments through /comments.json
Authenticate with either an api_key query parameter or HTTP Basic
Patterns agents use Danbooru Anime API for, with concrete tasks.
★ Tag-Based Image Search
Power a tag-driven image discovery feature by calling GET /posts.json with tag query strings. Danbooru's strict tag taxonomy means a single GET returns precisely scoped results, suitable for moodboards, reference search, and dataset curation. Pair with /tags.json to autocomplete tag inputs.
GET /posts.json?tags=cherry_blossoms+sky and return the top 20 posts with their image URLs and tag lists.
Random Post Feed
Drive a daily random art feed using GET /posts/random.json, which returns a single post chosen at random. This is useful for screensavers, dashboards, and discovery widgets without managing pagination state on the client.
GET /posts/random.json once a day and post the returned image and source link to a Slack channel.
Tag and Artist Curation
Manage Danbooru taxonomy entries by listing and creating tags via /tags.json and artists via /artists.json. This supports community-moderation tooling and dataset prep where consistent tags and artist records must be maintained alongside posts.
POST /tags.json to create a new tag, then GET /tags.json filtered by name to confirm it appears in the list.
AI Agent Image Discovery via Jentic
An AI agent uses Jentic to find Danbooru endpoints, run tag searches, and surface posts to a user. Credentials (api_key or Basic) stay in the Jentic vault, so the agent never embeds secrets while iterating over /posts.json results.
Search Jentic for 'list danbooru posts by tag', execute GET /posts.json with the user's tag, and return the top results.
12 endpoints — the danbooru anime api gives programmatic access to the danbooru image board's tagging system, exposing posts, tags, artists, and comments.
METHOD
PATH
DESCRIPTION
/posts.json
List posts with tag filtering
/posts/{id}.json
Get a single post by ID
/posts/random.json
Get a random post
/posts.json
Create a post
/tags.json
List tags
/comments.json
Create a comment
/posts.json
List posts with tag filtering
/posts/{id}.json
Get a single post by ID
/posts/random.json
Get a random post
/posts.json
Create a post
/tags.json
List tags
/comments.json
Three things that make agents converge on Jentic-routed access.
Credential isolation
Danbooru api_key or Basic credentials are stored encrypted in the Jentic vault and applied at execution time. Agents only see a scoped reference, so /posts.json and /tags.json calls never expose the raw key.
Intent-based discovery
Agents search Jentic for intents like 'list danbooru posts by tag' and receive the matching Danbooru operation with its parameter schema, ready to execute without parsing the spec.
Time to first call
Direct integration: a few hours for auth and pagination. Through Jentic: under 20 minutes from search to first tag-filtered result set.
Alternatives and complements available in the Jentic catalogue.
Specific to using Danbooru Anime API through Jentic.
What authentication does the Danbooru API use?
Two schemes are supported: an api_key query parameter and HTTP Basic auth (username plus key). Through Jentic, the credential is stored encrypted in the vault and applied at execution time so the agent never handles the raw key.
Can I search Danbooru posts by tag?
Yes. GET /posts.json accepts a tags query string with space- or plus-separated tags. The response is a JSON list of posts with image URLs, tag arrays, ratings, and source links.
What are the rate limits for the Danbooru API?
Danbooru applies practical rate limits per account and IP, not declared explicitly in the OpenAPI spec. Throttle to a few requests per second, cache results, and apply exponential backoff on 429 responses to stay within community-acceptable use.
How do I get a random Danbooru post via Jentic?
Run pip install jentic and search for 'get a random danbooru post'. Jentic returns GET /posts/random.json. Execute it and Jentic injects the api_key from the vault, returning a single post you can render or relay.
Can I create a new tag through the Danbooru API?
Yes. POST /tags.json creates a tag entry with the supplied name and category. Verify the tag appears with GET /tags.json filtered by name afterwards.
Does the Danbooru API support comments?
Yes. GET /comments.json lists comments and POST /comments.json creates a new comment on a post. Each comment is tied to a post id and the authenticated user.
Create a comment