# Officialjoke

2 endpoints on Officialjoke. Every one returns the same response shape and has a flat, published price in credits.

Category: [Fun & utilities](https://onekey.dev/docs/categories/utilities.md) · [Overview page](https://onekey.dev/platforms/officialjoke)

## Endpoints

| Endpoint | What it does | Cost | Status |
| --- | --- | --- | --- |
| [`by_type`](https://onekey.dev/docs/api/officialjoke/by_type.md) | A random joke of a type (general, knock-knock, programming, dad). | 5 credits | stable |
| [`random`](https://onekey.dev/docs/api/officialjoke/random.md) | A random joke (Official Joke API). | 1 credit | stable |

Every endpoint page has a **Field mapping** section showing which source field becomes which [unified field](https://onekey.dev/docs/schema.md) (fixed schema) or platform-specific `ext.` field.
