canonical: https://jentic.com/apis/random.dog/random-dog

# Random Dog API

A simple public API that returns random dog images and videos. The API exposes 2 endpoints.

## For AI agents

Programmatically get a random dog image or video as json, get a random dog image filename. Covers 2 operations.

## Scope

Does not handle payments, communications, or crm - use for media and content only.

## Capabilities

- Get a random dog image or video as JSON
- Access Random Dog API media resources via REST API
- Query Random Dog API endpoints with structured JSON responses
- Authenticate requests with none credentials managed by Jentic
- Access Random Dog API resources programmatically via REST

## Use cases

### Media and Content Operations

Use the Random Dog API to perform media operations programmatically. The API provides 2 endpoints covering core functionality including get a random dog image or video as json, get a random dog image filename.

Example prompt: Call GET /woof.json to get a random dog image or video as json

### Data Retrieval and Monitoring

Query Random Dog API endpoints to retrieve structured data for monitoring, reporting, or downstream processing. The API returns JSON responses that agents can parse directly, enabling automated data collection workflows.

Example prompt: Query the Random Dog API API to retrieve current data and verify the response structure

### AI Agent Integration via Jentic

AI agents discover and call Random Dog API endpoints through Jentic without managing credentials directly. An agent searches for the required operation by intent, receives the matching endpoint schema, and executes the call with Jentic-managed authentication. This eliminates the need to read API documentation or handle none tokens manually.

Example prompt: Search Jentic for 'get a random dog image or video as json', load the operation schema, and execute with Jentic-managed credentials

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/woof.json` | Get a random dog image or video as JSON |
| GET | `/woof` | Get a random dog image filename |

## Key resources

- **Woof** — Operations for woof
- **Woof.Json** — Operations for woof.json

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 77 / 100
- **Maturity:** AI-Ready
- **Dimensions:**
  - Foundational Compliance: 100 / 100
  - Developer Experience & Jentic Compatibility: 75 / 100
  - AI-Readiness & Agent Experience: 55 / 100
  - Agent Usability: 94 / 100
  - Security: 100 / 100
  - AI Discoverability: 75 / 100
- **View full report:** https://jentic.com/apis/random.dog/random-dog/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the Random Dog API by hand still means writing a client for its two read endpoints and handling the mixed image and video responses yourself, even though it needs no auth. Through Jentic you install once, import the Random Dog API from the API Directory, and your agent calls it with no credential to manage.
- **Permission scoping:** Random Dog exposes only public read endpoints (GET /woof.json and GET /woof), so scoping is operations-only: you limit the agent to the operations it needs, such as fetching a random dog image. This API has no write or destructive operations to grant.
- **Credential handling:** The Random Dog API requires no credential, so there is no secret to store. Any configuration your Jentic One instance holds stays out of the agent's prompt, logs, and context.
- **Discovery method:** Agents search Jentic by intent such as 'get a random dog image or video', and Jentic returns the matching Random Dog operation with its input schema so the agent calls the right endpoint without browsing the reference docs.

## Related APIs

- **Cloudinary** — Alternative media API
- **Mux** — Alternative media API

## FAQ

### What authentication does the Random Dog API use?

The Random Dog API uses no authentication. Through Jentic, these credentials are stored encrypted in your Jentic One instance and injected at execution time, so raw secrets never enter the agent context.

### Can I get a random dog image or video as json with the Random Dog API?

Yes. Use the GET /woof.json endpoint. The API returns structured JSON responses that agents can parse and act on directly.

### What are the rate limits for the Random Dog API?

Rate limits are not specified in the OpenAPI spec. Check the vendor documentation for current limits. Through Jentic, rate limiting is handled automatically with retry logic built into the execution layer.

### How do I get a random dog image or video as json through Jentic?

Install the Jentic SDK with pip install jentic, authenticate through Jentic One, the self-hosted execution layer, then search for 'get a random dog image or video as json'. Jentic returns the matching Random Dog API operation with its input schema. Load the schema and execute the call - credentials are injected automatically.

### How many endpoints does the Random Dog API have?

The Random Dog API exposes 2 endpoints covering woof, woof.json operations.

### Can I limit what my agent is allowed to do with the Random Dog API?

Yes. Because Jentic One is self-hosted, you set the rules that decide which operations and credentials your agent may use, so you can restrict it to only the calls it actually needs. The Random Dog API exposes just two public read operations, GET /woof.json and GET /woof, and you can allow one or both, for example permitting only fetching a random dog image or video. There are no write or destructive operations to grant, and this API needs no credential, so scoping here is entirely about which of those read operations the agent can call.
