# x402-tools Horoscope API

> x402-tools Horoscope API is a paid API for AI agents from x402-tools.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns a daily horoscope reading for a specified zodiac sign, optionally for a given date.

## Facts

- Endpoint: GET https://x402-tools.vercel.app/api/horoscope
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-vercel-app-c4f79303
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_vWJlGhSiPiNfRbBjK0wrT

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 x402-tools-vercel-app-c4f79303
```

Example prompt: What's the horoscope for Scorpio today? And also pull up the reading for Aries on 2025-07-15.

## When to prefer this

Use this endpoint when a user asks for a horoscope or daily astrological reading for a specific zodiac sign. It supports any of the 12 standard zodiac signs and allows optional date specification, making it ideal for date-specific or 'today' horoscope lookups. Prefer this over scraping astrology websites or using generic LLM-generated horoscopes when you need a structured, paid API response with a specific daily reading.

## Known failure modes

- Missing required 'sign' query parameter — returns validation error
- Invalid zodiac sign value — may return error or empty result
- Invalid date format (not YYYY-MM-DD or 'today') — may fail or default to today
- Payment not provided or insufficient — returns 402 Payment Required
- Service unavailable or upstream horoscope data source down — returns 5xx error

## How this service works

Get a daily horoscope for any zodiac sign. Optionally request a specific date.

## Output

Returns a JSON object with a boolean success flag and a text string containing the horoscope reading for the requested zodiac sign and date.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "sign": "leo"
  }
 }
}
```

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "sign"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "Date in YYYY-MM-DD format, or 'today'. Defaults to today."
      },
      "sign": {
       "type": "string",
       "description": "Zodiac sign (aries, taurus, gemini, cancer, leo, virgo, libra, scorpio, sagittarius, capricorn, aquarius, pisces)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "success",
      "data"
     ],
     "properties": {
      "data": {
       "type": "string",
       "description": "The horoscope reading text"
      },
      "success": {
       "type": "boolean"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": "You may feel a surge of creative energy today...",
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-vercel-app-c4f79303/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-tools.vercel.app](https://www.zero.xyz/host/x402-tools.vercel.app/llms.txt)
