# AllTheBot Fun Fact of the Day (France)

> AllTheBot Fun Fact of the Day (France) is a paid API for AI agents from api.zkrobotics.fr, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Returns a random, daily-refreshed fun fact about France in English or French as a JSON response.

## Facts

- Endpoint: GET https://api.zkrobotics.fr/x402/fun/france-fact?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/allthebot-fun-fact-of-the-day-france-2c8a0473
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9DbR4HIcDj7QjgHdd0YTh

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 allthebot-fun-fact-of-the-day-france-2c8a0473
```

Example prompt: Can you grab today's fun fact about France in English?

## When to prefer this

Choose this endpoint when you need a lightweight, daily-refreshed, human-readable fun fact specifically about France — especially when you need bilingual support (English or French) and a structured JSON response. Prefer this over general trivia APIs when France-specific content is required, and over LLM-generated facts when you need consistency and a guaranteed-new daily fact rather than on-demand generation.

## Known failure modes

- Invalid 'lang' parameter value (not 'en' or 'fr') may result in a 400 error or default language fallback
- Service unavailability or network errors returning non-200 status
- Fact may repeat across days if the daily rotation pool is exhausted
- Payment failure via x402 protocol (insufficient USDC balance) blocking access

## How this service works

Pay-per-call APIs for AI agents over x402: token safety reports, Base and Ethereum on-chain reads, crypto prices, domain checks (DNS, WHOIS, SSL, email), finance data (FX, SEC), worldwide weather forecasts, France alerts, text AI, fun content. USDC on Base, no account, no API key.

## Output

A JSON object containing two fields: 'date' (ISO 8601 date string for when the fact is valid, e.g. '2026-10-08') and 'fact' (a single surprising, true statement about France, delivered in the requested language — English or French).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "lang": {
       "enum": [
        "fr",
        "en"
       ],
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "date": {
       "type": "string"
      },
      "fact": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "date": "2026-10-08",
  "fact": "En France, il existe une commune nommée Y, dans la Somme : le nom le plus court du pays."
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/allthebot-fun-fact-of-the-day-france-2c8a0473/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.zkrobotics.fr](https://www.zero.xyz/host/api.zkrobotics.fr/llms.txt)
