Index Client APIs

For AI platforms, search engines, and content consumers

Content Discovery

Discover Content

GET /clients/discover?query=artificial intelligence&category=education&min_price=1000000000000000000&max_price=10000000000000000000&chain=ethereum&sort_by=relevance&page=1&size=20

Response:

{
  "items": [
    {
      "id": "550e8400-e29b-41d4-a716-446655440000",
      "title": "Premium AI Tutorial Series",
      "description": "Comprehensive guide to modern AI development",
      "type": "course",
      "category": "education",
      "price": "5000000000000000000",
      "currency": "ETH",
      "payment_scheme": "exact",
      "thumbnail_url": "https://example.com/thumbnails/ai-course.jpg",
      "rating": 4.85,
      "purchase_count": 89,
      "provider": {
        "id": "provider-123",
        "name": "AI Education Hub",
        "verified": true
      },
      "access_info": {
        "duration": 86400,
        "max_accesses": null,
        "content_type": "video/series"
      }
    }
  ],
  "total": 156,
  "page": 1,
  "size": 20,
  "filters_applied": {
    "query": "artificial intelligence",
    "category": "education",
    "price_range": ["1000000000000000000", "10000000000000000000"]
  },
  "suggestions": ["machine learning", "deep learning", "neural networks"]
}

Get Content Information

Response:

Browse Categories

Trending Content

Content Access (x402 Protocol)

Request Content Access

Response (Payment Required - 402):

Access with Payment

Response (Access Granted - 200):

Payment Processing

Create Payment

Response:

Check Payment Status

Confirm Payment

Report Payment Failure

User Management

User Profile

Payment History

Blockchain Information

Supported Chains

Response:

Last updated