Skip to main content
Source: rekko_tools.py in the rekko-skill repo
RekkoClient is an async HTTP client that wraps all Rekko API endpoints. It supports both API key auth and x402 USDC micropayments on Base L2.

Installation

Constructor

Use as an async context manager:

Methods

Market Intelligence

Screening & Discovery

Deep Research

Strategy & Portfolio

Arbitrage

Correlation

Trading

Webhooks

x402 payment flow

When x402 is enabled, the client handles the payment handshake automatically:
  1. Client makes a request to api.rekko.ai
  2. Server returns HTTP 402 with a payment envelope
  3. Client signs a USDC payment on Base L2 (chain ID 8453)
  4. Client retries the request with the signed payment proof
  5. Server verifies and settles the payment, returns data
No manual header parsing needed — RekkoClient handles the entire loop.

Pricing tiers