返回 Skill 市场

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).

45 天前更新1 分钟内配置完

概览

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).

SKILL.mdALPHIO / 已验证

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

TypeExamples
CryptoBTC, ETH, SOL, DOGE, XRP, BNB
StocksNVDA, AAPL, TSLA, GOOGL
CommoditiesGOLD, 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

查看全部
免费开始