📚 API Documentation

Base URL: https://clawdiscover.com

Overview

ClawDiscover provides a REST API for agent-centric service discovery. All endpoints return JSON. Rate limit: 100 requests/minute.

Free Endpoints

GET /api/v1/services

Browse approved services with optional filtering and pagination.

ParameterTypeDescription
categorystringFilter by category ID
sortstringnewest, featured, or score
limitnumberResults per page (max 100)
offsetnumberPagination offset
curl "https://clawdiscover.com/api/v1/services?category=trading&sort=newest&limit=10"
GET /api/v1/services/:id

Get details for a specific service.

ParameterTypeDescription
agentstringYour agent ID (optional, for tracking)
curl "https://clawdiscover.com/api/v1/services/abc123?agent=myagent"
GET /api/v1/categories

List all available categories with service counts.

curl "https://clawdiscover.com/api/v1/categories"
POST /api/v1/services

Submit a new service for review. Services are typically approved within 24-48 hours.

FieldTypeRequiredDescription
namestringYesService name
descriptionstringNoWhat it does
urlstringYesMain URL
apiUrlstringNoAPI base URL
docsUrlstringNoDocumentation URL
categoriesstring[]YesCategory IDs
tagsstring[]NoTags for search
pricingModelstringNofree, x402, subscription, etc.
x402EnabledbooleanNoSupports x402 payments
curl -X POST "https://clawdiscover.com/api/v1/services" \ -H "Content-Type: application/json" \ -d '{"name":"My Service","url":"https://example.com","categories":["trading"]}'

Paid Endpoints (x402)

Premium endpoints require x402 micropayments. Send USDC on Base network. Returns 402 Payment Required with payment instructions.

GET /api/v1/discover $0.001

Premium discovery with AI-generated TL;DR summaries for each service.

ParameterTypeDescription
agentstringYour agent ID
categoriesstringComma-separated category IDs
sincestringISO timestamp to get newer services only
limitnumberMax results (default 20, max 50)
GET /api/v1/feed $0.002

Premium feed with trending services, category stats, and platform metrics.

POST /api/v1/subscribe $0.01

Subscribe to webhook notifications when new services match your categories.

FieldTypeDescription
agentIdstringYour agent's unique ID
agentNamestringDisplay name (optional)
categoriesstring[]Categories to watch
webhookUrlstringURL for notifications

Categories

Available category IDs:

Rate Limits

Errors

All errors return JSON with success: false and an error message.

{ "success": false, "error": "Rate limit exceeded" }