본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트7.0k · #13657

octav-api

하는 일

이 스킬은 Octav API로 암호화폐 지갑과 DeFi 보유 자산을 추적하는 방법을 설명합니다. 여러 체인의 잔액과 내역 데이터가 필요한 포트폴리오나 금융 앱을 만드는 개발자를 위한 스킬입니다.

사용하는 경우

  • ✓여러 블록체인에 걸친 지갑의 잔액과 순자산을 보여 주고 싶을 때.
  • ✓지갑의 거래 내역을 필터링해서 보고 싶을 때.
  • ✓대출이나 유동성 풀 같은 DeFi 프로토콜의 포지션을 추적하고 싶을 때.

스킬 링크

https://github.com/internet-court/internet-court-skill/blob/main/vendored/octav/octav-api/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/internet-court/internet-court-skill/blob/main/vendored/octav/octav-api/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Octav API를 사용해 모든 체인에 걸친 제 지갑의 총 가치를 보여 주는 페이지를 만들어 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 환경 변수에 저장된 Bearer 토큰으로 Octav 엔드포인트를 호출합니다. 포트폴리오, 지갑, 거래 내역, DeFi 포지션 중 맞는 엔드포인트를 고르고, 각 호출의 크레딧 비용을 고려합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Octav API Integration

API for cryptocurrency portfolio tracking, transaction history, and DeFi analytics.

Quick Reference

Base URL: https://api.octav.fi Auth: Bearer token in Authorization header Rate Limit: 360 requests/minute/key Pricing: Credit-based ($0.02-0.025/credit) Dev Portal: https://data.octav.fi

Authentication

curl -X GET "https://api.octav.fi/v1/credits" \
  -H "Authorization: Bearer YOUR_API_KEY"

Store API key in environment variable OCTAV_API_KEY. Never hardcode.

Access methods

Default to the API-key REST API documented below. It covers all 25 endpoints.

Octav also exposes 5 endpoints over the x402 payment protocol at /v1/agent/{portfolio,wallet,nav,status,chains} — 0.025 USDC per call on Base, no API key. Use x402 only when:

  • the user explicitly asked for x402 or pay-per-call access, or
  • the agent has its own funded wallet and no API key is available.

Otherwise use /v1/* with a Bearer token, and mention x402 exists if one of those cases applies. Do not start from x402 by default.

There is no /v1/agent/transactions — transaction history requires an API key.

Endpoints Overview

Endpoint Method Cost Description
/v1/portfolio GET 1 credit Portfolio holdings across chains/protocols
/v1/portfolio/at-block GET Add-on + 1 credit Portfolio valued at a historical block (Ethereum)
/v1/virtual-users GET 1 credit List virtual users (Pro)
/v1/virtual-users/portfolio GET 1 credit/address Virtual user holdings (Pro)
/v1/nav GET 1 credit Net Asset Value — {nav, currency, conversionPrice}
/v1/wallet GET 1 credit Wallet token balances, excludes DeFi positions
/v1/transactions GET 1 credit Transaction history with filtering
/v1/approvals/{chain} GET 1 credit ERC-20 token approval records
/v1/token-overview GET 1 credit Token breakdown by protocol (PRO only)
/v1/airdrop GET 1 credit Claimable airdrops (Solana only)
/v1/historical GET 1 credit Historical portfolio snapshots
/v1/sync-transactions POST 1+ credits Trigger transaction sync
/v1/contract-protocol GET 5 credits Resolve contract address to DeFi protocol (refunded on 404)
/v1/beacon/validators/* GET Add-on ETH validator details, rewards, withdrawals, deposits
/v1/chains GET Free List supported blockchain networks
/v1/chains/{chainKey}/protocols GET Free List protocols on a chain
/v1/status GET Free Check sync status
/v1/credits GET Free Check credit balance

Subscribe Snapshot (POST, 1200 credits) enables daily portfolio snapshots for an address, which /v1/historical then reads.

x402 endpoints (no API key — see Access methods above)

Endpoint Method Cost Description
/v1/agent/portfolio GET 0.025 USDC Wallet and protocol holdings
/v1/agent/wallet GET 0.025 USDC Wallet holdings only
/v1/agent/nav GET 0.025 USDC Net Asset Value — {nav, currency, conversionPrice}
/v1/agent/status GET 0.025 USDC Sync status
/v1/agent/chains GET 0.025 USDC Supported chains

An unpaid request returns HTTP 402 with a base64 payment-required header containing the payment challenge (USDC on Base, eip155:8453). An x402-capable HTTP client settles it and retries automatically.

Core Endpoints

Portfolio

Get holdings across wallets and DeFi protocols.

const response = await fetch(
  `https://api.octav.fi/v1/portfolio?addresses=${address}`,
  { headers: { 'Authorization': `Bearer ${apiKey}` } }
);
const portfolio = await response.json();
// portfolio.networth, portfolio.assetByProtocols, portfolio.chains

Parameters:

  • addresses (required): EVM or Solana address. Comma-separate multiple addresses in one request to save credits.
  • includeImages: Include asset/protocol image URLs (default: false)
  • includeExplorerUrls: Include block explorer URLs (default: false)
  • waitForSync: Wait for fresh data if stale (default: false)

Response structure:

{
  "address": "0x...",
  "networth": "45231.89",
  "assetByProtocols": {
    "wallet": { "key": "wallet", "name": "Wallet", "value": "12453.20", "assets": [...] },
    "aave_v3": { "key"
자주 묻는 질문

API 키는 어디에 보관해야 하나요?

OCTAV_API_KEY 환경 변수에 보관하며, 코드에 직접 넣지 말라고 스킬은 말합니다.

요청 제한이 있나요?

네. 스킬은 키마다 분당 360건의 제한을 나열합니다.

키 대신 요청마다 결제할 수 있나요?

스킬은 요청별 결제 옵션을 언급하지만, 사용자가 요청하거나 에이전트가 자금이 있는 자체 지갑을 가진 경우에만 쓰라고 합니다.

상세 정보

작성자의 원본 설명

Integrate with Octav API for cryptocurrency portfolio tracking, transaction history, and DeFi analytics across 50+ blockchain networks. Use when building applications that need to: (1) Track wallet balances and net worth across multiple chains, (2) Query transaction history with filtering and search, (3) Monitor DeFi protocol positions (Aave, Uniswap, etc.), (4) Access historical portfolio snapshots, (5) Analyze token distribution and holdings, (6) Pay per request as an autonomous agent via x402. Triggers on: "Octav API", "crypto portfolio API", "blockchain portfolio tracking", "DeFi analytics

repo: internet-court/internet-court-skill

인기도

GitHub 스타
7.0k
순위
#13657
라이선스
—
업데이트
2026. 10. 26.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬