# fastapi.online Bias Detection

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

Analyzes a text passage and detects political, ideological, or cognitive biases present within it.

## Facts

- Endpoint: POST https://api.fastapi.online/bias-detect
- Price: $0.0015/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-bias-detection-a0108a94
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_DyKqbGzPCn1BT9DD1fNne

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-bias-detection-a0108a94 -d '<json body>'
```

Example prompt: Can you check this news article for political or ideological bias? Here's the text: 'The government's reckless spending spree continued today as lawmakers rubber-stamped yet another bloated budget that hardworking taxpayers will be forced to fund.'

## When to prefer this

Choose this endpoint when you need a fast, per-call, no-signup bias detection service without committing to a SaaS subscription. Especially useful for agents processing individual text snippets for bias signals, content moderation pipelines, or research workflows where crypto micropayments are acceptable. Prefer over general-purpose LLM prompting when you want a dedicated bias classification model output rather than free-form LLM opinion.

## Known failure modes

- Empty or missing text field returns validation error
- Text exceeding 8000 characters rejected
- Ambiguous or very short text may produce low-confidence or inconclusive results
- Non-English text may yield inaccurate results depending on model support
- Payment failure via x402 protocol results in 402 response before processing

## 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 an analysis of detected biases in the input text, likely including bias type labels (e.g. political, confirmation, framing), confidence scores, and possibly flagged phrases or spans that contribute to the detected bias.

## 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-bias-detection-a0108a94/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)
