# Fun Generators API API

> Fun Generators API API on Apizie: 6 endpoints (Get a Trivia entry for a given id. Retrieves a trivia question and answer based on the id., Create a random Trivia entry., Create a random Trivia entry., Get a random Trivia., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/ai:fungenerators-trivia/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `ai:fungenerators-trivia`
- Category: Artificial Intelligence
- Status: byok
- Source: https://fungenerators.com
- Page: https://apizie.tech/api/ai/fungenerators-trivia
- OpenAPI: https://apizie.tech/api/ai/fungenerators-trivia/openapi.json

Below is the documentation for the API calls. You can try them out right here.

## Endpoints

### Get a Trivia entry for a given id. Retrieves a trivia question and answer based on the id.
`GET https://apizie.tech/v1/ai:fungenerators-trivia/get-trivia` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | no | ID of the trivia to fetch |

### Create a random Trivia entry.
`POST https://apizie.tech/v1/ai:fungenerators-trivia/put-trivia` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| question | string | yes | Trivia Question |
| category | string | yes | Category of the trivia |
| answer | string | yes | Answer(s) to the trivia question |

### Create a random Trivia entry.
`POST https://apizie.tech/v1/ai:fungenerators-trivia/delete-trivia` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| id | string | yes | Trivia ID |

### Get a random Trivia.
`GET https://apizie.tech/v1/ai:fungenerators-trivia/get-trivia-categories` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| start | integer | no | start |

### Get a random trivia for a given category(optional)
`GET https://apizie.tech/v1/ai:fungenerators-trivia/get-trivia-random` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| category | string | no | Category to get the trivia from |

### Search for random trivia which has the text in the query, for a given category(optional).
`GET https://apizie.tech/v1/ai:fungenerators-trivia/get-trivia-search` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | no | Text to search for in the trivia |
| category | string | no | Category to get the trivia from |

## Example
```
curl "https://apizie.tech/v1/ai:fungenerators-trivia/get-trivia" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the Fun Generators API API?
Create a free Apizie key, then send GET https://apizie.tech/v1/ai:fungenerators-trivia/get-trivia with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Fun Generators API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. Fun Generators API itself also needs your own key from fungenerators.com.

### Can AI agents use the Fun Generators API API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key ai:fungenerators-trivia.

### What is the status of the Fun Generators API API?
Needs your own provider key (bring your own key)
