
Market Data
priceforagent
Price for Agent provides an LLM-friendly REST API delivering real-time prices for cryptocurrencies, equities, and commodities. Register to obtain an API key, then query via natural-language /v1/query, direct lookups (/v1/price/{asset}), or batch requests (/v1/batch).
概览
Price for Agent provides an LLM-friendly REST API delivering real-time prices for cryptocurrencies, equities, and commodities.
Price for Agent provides an LLM-friendly REST API delivering real-time prices for cryptocurrencies, equities, and commodities. Register to obtain an API key, then query via natural-language /v1/query, direct lookups (/v1/price/{asset}), or batch requests (/v1/batch). Responses include pair, price, ask, bid, currency, market state, and timestamp. The service supports function-calling schemas and an OpenAPI spec for seamless agent and application integration. Use cases: chatbots and agents answering price questions, trading bots and portfolio trackers, market dashboards, alerting systems, and research tools. Core advantages: low-latency, multi-asset coverage (BTC, ETH, NVDA, AAPL, GOLD), LLM-friendly natural language interface, batch endpoints, usage tracking (/v1/usage), and predictable rate limits for production deployments.
Skill.md
这个 Skill 如何工作
Price for Agent provides an LLM-friendly REST API delivering real-time prices for cryptocurrencies, equities, and commodities. Register to obtain an API key, then query via natural-language /v1/query, direct lookups (/v1/price/{asset}), or batch requests (/v1/batch).
Price for Agent
LLM-friendly price service for crypto, stocks, and commodities.
Base URL: https://p4ai.bitharga.com
Quick Start
1. Register for API Key
curl -X POST https://p4ai.bitharga.com/v1/register \
-H "Content-Type: application/json" \
-d '{"agent_id": "my-agent"}'
Response:
{"api_key": "pfa_xxx...", "message": "API key generated successfully"}
2. Query Prices
Natural language:
curl -X POST https://p4ai.bitharga.com/v1/query \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "What is the price of Bitcoin and Ethereum?"}'
Direct lookup:
curl -H "X-API-Key: YOUR_KEY" https://p4ai.bitharga.com/v1/price/bitcoin
Batch:
curl -X POST https://p4ai.bitharga.com/v1/batch \
-H "X-API-Key: YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"pairs": ["BTC", "ETH", "NVDA"]}'
Supported Assets
| Type | Examples |
|---|---|
| Crypto | BTC, ETH, SOL, DOGE, XRP, BNB |
| Stocks | NVDA, AAPL, TSLA, GOOGL |
| Commodities | GOLD, SILVER, OIL |
Rate Limits
- 2 requests per second per API key
- Global limit: 10 million calls
- Usage tracked via
/v1/usage
Function Calling
curl https://p4ai.bitharga.com/v1/function-schema
OpenAPI Spec
curl https://p4ai.bitharga.com/v1/openapi.yaml
Response Format
{
"pair": "BTC",
"price": 70494.63,
"ask": 70565.13,
"bid": 70424.14,
"currency": "USDT",
"market": "open",
"timestamp": 1770433814
}
最适合用于
何时使用
Price for Agent provides an LLM-friendly REST API delivering real-time prices for cryptocurrencies, equities, and commodities. Register to obtain an API key, then query via natural-language /v1/query, direct lookups (/v1/price/{asset}), or batch requests (/v1/batch).

01 · 会前准备
准备决策简报
在投委会开会前,把零散证据整理成结构化的论据。

02 · 团队协作
统一交接标准
让分析师、组合经理与 Agent 产出一致的研究结果。

03 · 实时更新
更新投资逻辑
出现新催化剂、KPI 发布或财报结果后,更新情景假设。
社区反馈
越用越好用。
随着 Skill 被使用与评审,反馈将展示在这里。
发现更多
相关 Skills
查看全部gmgn-market
gmgn-market is a CLI-driven Skill for retrieving crypto and meme-token market data: K-line (candlestick/OHLCV) charts, trending token rankings by USD volume, Trenches token lists, and newly launched…
crypto-price
This Skill retrieves cryptocurrency prices and generates dark-themed candlestick charts via a simple CLI. Invoke the script with a token symbol and optional duration (e.g., 30m, 3h, 12h, 2d) to…
cmc-api-crypto
This skill documents the CoinMarketCap (CMC) Cryptocurrency REST API for programmatic access to market and token data. It details authentication (API key via X-CMC_PRO_API_KEY), base URL, and…