# fastapi.online Sarcasm Detection

> fastapi.online Sarcasm Detection is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Detects whether a given piece of text is sarcastic, returning a classification and confidence score

## Facts

- Endpoint: POST https://api.fastapi.online/sarcasm-detect
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-sarcasm-detection-9c702c72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XI8mPZCVEfvSkC4Rpv0f-

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability fastapi-online-sarcasm-detection-9c702c72 -d '<json body>'
```

Example prompt: Can you check if this comment is sarcastic: 'Oh sure, because waiting two hours for a table is just SO enjoyable'?

## When to prefer this

Choose this endpoint when you need a quick, cheap, per-call sarcasm classification without requiring an API key or subscription. Ideal for agents processing individual social media posts, reviews, or conversational messages where sarcasm tone affects downstream decisions. At $0.001 USDC per call with crypto payment and no signup, it suits lightweight pipelines or exploratory use cases.

## Known failure modes

- Text too short or ambiguous for reliable detection — may return low-confidence result
- Input exceeds 8000 character limit — request rejected
- Non-English or mixed-language text may reduce accuracy
- Payment not included or insufficient — 402 Payment Required response
- Network timeout if inference takes too long

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

Returns a classification indicating whether the input text is sarcastic or not, typically along with a confidence score or probability value indicating the model's certainty.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 8000,
   "minLength": 1
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-sarcasm-detection-9c702c72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
