# Truth or Dare API

> The Truth or Dare API generates random truth questions and dare challenges for the classic party game. Features 400+ unique prompts with per-API-key tracking to avoid repeats.

**Endpoint:** `GET https://api.apiverve.com/v1/truthordare`  
**Category:** Entertainment  
**Cost:** 1 credit per call  
**Canonical page:** https://apiverve.com/marketplace/truthordare

## Overview

When all prompts of a type are used, automatically falls back to the other type. Perfect for party apps, game nights, and social gatherings.

## Authentication

Every call carries your key in an `x-api-key` header. The same key works across the whole
APIVerve catalog — there are no per-API subscriptions. Responses always use the same three
top-level keys: `status`, `error`, and `data`.

## Example request

```bash
curl "https://api.apiverve.com/v1/truthordare?type=random&adult=false" \
  -H "x-api-key: YOUR_API_KEY"
```

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `type` | string | No | Prompt type: truth, dare, or random. default random. One of: truth, dare, random |
| `adult` | boolean | No | Include adult/spicy prompts. default false |

## Response fields

- `type` — string · Type of prompt generated (truth or dare)
- `prompt` — string · The generated truth or dare prompt text

## Sample response

```json
{
  "status": "ok",
  "error": null,
  "data": {
    "type": "truth",
    "prompt": "What is the weirdest thing you've ever eaten?"
  }
}
```

## Use cases

- **Party Apps** — Add truth or dare gameplay to social apps
- **Game Night** — Generate endless prompts for in-person games
- **Icebreakers** — Family-friendly prompts for team building
- **Entertainment** — Create fun challenges for content creators

## SDKs

- **npm** — `npm install @apiverve/truthordare` (https://www.npmjs.com/package/@apiverve/truthordare)
- **NuGet** — `dotnet add package APIVerve.API.TruthorDare` (https://www.nuget.org/packages/APIVerve.API.TruthorDare)
- **Source** — https://github.com/apiverve/truthordare-api

## More

- Full reference: https://docs.apiverve.com/ref/truthordare
- Get an API key: https://dashboard.apiverve.com
- Full catalog: https://apiverve.com/marketplace
