
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…