# io.github.fernsugi/x402-api

> Use this tool when you need to access DeFi data for informed decision-making, as it provides a pay-per-call API for AI agents to retrieve financial data via x402/USDC on Base, solving data accessibility issues for automated trading and analysis. It accepts payment inputs in x402/USDC and outputs relevant DeFi data. Utilize this API in contexts where real-time financial data is crucial for AI-driven strategies.

Canonical page: https://skillsregistry.net/skills/io-github-fernsugi-x402-api  
JSON: https://api.skillsregistry.net/v1/skills/io-github-fernsugi-x402-api

## Description

DeFi data API for AI agents — pay-per-call via x402/USDC on Base

## Trust

- **Trust score (0–1):** 0.99
- **Verification tier:** verified
- **Last scanned:** 2026-09-28

## Facts

- **Version:** 1.0.2
- **Skill type:** atomic
- **Execution layer:** mcp-remote
- **Runtime environment:** api
- **Category:** ai-ml
- **Updated:** 2026-09-28

## Source

- **Source listing:** [MCP Registry](https://registry.modelcontextprotocol.io/v0/servers/io.github.fernsugi%2Fx402-api)
- **Repository:** <https://github.com/fernsugi/x402-api-mcp-server>

## Use it

Resolve this record through the SkillsRegistry MCP server (no auth, read-only):

```
claude mcp add --transport http --scope user skillsregistry https://api.skillsregistry.net/mcp
```

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_skill",
    "arguments": {
      "slug": "io-github-fernsugi-x402-api"
    }
  }
}
```

REST: `GET https://api.skillsregistry.net/v1/skills/io-github-fernsugi-x402-api` · pull for local use: `GET https://api.skillsregistry.net/v1/skills/io-github-fernsugi-x402-api/pull`

---
SkillsRegistry indexes agent skills from public registries and GitHub. Skills we have analysed are scanned with Circle-IR and scored on six dimensions; each listing states its scan coverage. More: https://skillsregistry.net/llms.txt
