最后更新
更新日志/liverate1 credit per callLiverate
一次调用获取实时价格看板:商品及其卖出价,可选附带市场参考价格和经销商通知,均取自同一数据源快照。
Authorization: Bearer <key> on every request.Parameters
What to return with the products
Only products of this metal
Also include products the dealer hides from the public board
Page size
Items to skip
Bypass the 60 s cache and read the feed now
Response fields
Fields inside data.
includee.g."all"counte.g.6currencye.g."INR"products
ide.g."130"namee.g."GOLD 995 (IND-BIS) RJT"metalOne of gold, silvere.g."gold"sellLive SELL rate quoted by Pritam Bullion (INR). This is the price a customer pays.e.g.145575buyLive BUY rate (INR); null when the dealer does not quote it (site shows "--").currencye.g."INR"displayedShown on the public live-rate boarde.g.truetradinge.g.truein_stockupdated_atFeed tick time (IST, as sent by the feed)e.g."11:58:46 PM"marketPresent unless include=products
symbole.g."gold"namee.g."GOLD FUTURE"bide.g.142240aske.g.142430highe.g.142886lowe.g.141200opene.g.142161closee.g.144095ltpe.g.142364changee.g.-1675updated_ate.g."11:58:46 PM"dealerPresent when include=all
firme.g."PRITAM BULLION PVT LTD."rates_livee.g.truenoticese.g.["FOR NEW ACCOUNT OPEN PLEASE CALL - 81408 81000"]booking_numberse.g.["8153081000"]emaile.g."Pritambullionpvtltd@gmail.com"Next to data, every response also has cached, source and pagination.
cachede.g.falsesourcee.g."pritamspot:combo"pagination
totale.g.6limite.g.50offsete.g.0counte.g.6has_moree.g.falsecurl "https://api.maviapi.com/v1/sites/pritamspot/liverate?include=all&metal=gold&include_hidden=false&limit=50&offset=0&refresh=false" \-H "Authorization: Bearer $MAVI_KEY"
{
"data": {
"include": "all",
"count": 6,
"currency": "INR",
"products": [
{
"id": "130",
"name": "GOLD 995 (IND-BIS) RJT",
"metal": "gold",
"sell": 145575,
"buy": null,
"currency": "INR",
"displayed": true,
"trading": true,
"in_stock": null,
"updated_at": "11:58:46 PM"
}
],
"market": [
{
"symbol": "gold",
"name": "GOLD FUTURE",
"bid": 142240,
"ask": 142430,
"high": 142886,
"low": 141200,
"open": 142161,
"close": 144095,
"ltp": 142364,
"change": -1675,
"updated_at": "11:58:46 PM"
}
],
"dealer": {
"firm": "PRITAM BULLION PVT LTD.",
"rates_live": true,
"notices": [
"FOR NEW ACCOUNT OPEN PLEASE CALL - 81408 81000"
],
"booking_numbers": [
"8153081000"
],
"email": "Pritambullionpvtltd@gmail.com"
}
},
"cached": false,
"source": "pritamspot:combo",
"pagination": {
"total": 6,
"limit": 50,
"offset": 0,
"count": 6,
"has_more": false
}
}Get all the data, no code
Collect every page of GET /liverate into a dataset, for one request or for a whole list of them, then download it as CSV or JSON. A page costs the same as one call of the endpoint; the download is free.
Use Pritam Bullion API from Claude, ChatGPT and your coding tools
Add this URL as a custom connector and sign in to maviapi. Nothing to install.
https://mcp.maviapi.com/mcpOr run it locally, with each endpoint of Pritam Bullion API as its own tool:
claude mcp add maviapi -e MAVIAPI_TOOLS=pritamspot -- npx -y '@maviapi/mcp'Import Pritam Bullion API into Postman and other tools
How to importPaste a link into Postman, Insomnia, an agent framework or a no-code tool to get every endpoint with its parameters and response fields. The link always serves the current endpoints, so importing it again picks up new ones.
- OpenAPI 3.1
https://api.maviapi.com/v1/apis/pritamspot/openapi.json - Postman
https://api.maviapi.com/v1/apis/pritamspot/postman.json
The Postman collection sends the shared demo key until you put your own key in its maviapi_key variable.
使用 Pritam Bullion API 进行开发
选择一个端点开始
- Liverate
GET /liverate一次调用获取实时价格看板:商品及其卖出价,可选附带市场参考价格和经销商通知,均取自同一数据源快照。
GET /liverate 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 include string / query 否 What to return with the products 可选值: products, products+market, all. metal string / query 否 Only products of this metal 可选值: gold, silver. include_hidden boolean / query 否 Also include products the dealer hides from the public board limit integer / query 否 Page size offset integer / query 否 Items to skip refresh boolean / query 否 Bypass the 60 s cache and read the feed now data 内的响应字段 字段 类型 说明 include string count integer currency string products object[] products[].id string products[].name string products[].metal string products[].sell number Live SELL rate quoted by Pritam Bullion (INR). This is the price a customer pays. products[].buy number Live BUY rate (INR); null when the dealer does not quote it (site shows "--"). products[].currency string products[].displayed boolean Shown on the public live-rate board products[].trading boolean products[].in_stock boolean products[].updated_at string Feed tick time (IST, as sent by the feed) market object[] Present unless include=products market[].symbol string market[].name string market[].bid number market[].ask number market[].high number market[].low number market[].open number market[].close number market[].ltp number market[].change number market[].updated_at string dealer object Present when include=all dealer.firm string dealer.rates_live boolean dealer.notices string[] dealer.booking_numbers string[] dealer.email string data 之外的字段 字段 类型 说明 cached boolean source string pagination object pagination.total integer pagination.limit integer pagination.offset integer pagination.count integer pagination.has_more boolean - Market
GET /market市场参考价格:黄金/白银期货(当月和下月)、以 USD 计的黄金/白银现货价,以及 USD/INR 汇率。
GET /market 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 limit integer / query 否 Page size offset integer / query 否 Items to skip refresh boolean / query 否 Bypass the 60 s cache and read the feed now data 内的响应字段 字段 类型 说明 count integer rates object[] rates[].symbol string rates[].name string rates[].bid number rates[].ask number rates[].high number rates[].low number rates[].open number rates[].close number rates[].ltp number rates[].change number rates[].updated_at string data 之外的字段 字段 类型 说明 cached boolean source string pagination object pagination.total integer pagination.limit integer pagination.offset integer pagination.count integer pagination.has_more boolean - Products
GET /productspritamspot.com 上列出的全部金银条块商品及其实时卖出价(INR)。
GET /products 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 metal string / query 否 Only products of this metal 可选值: gold, silver. include_hidden boolean / query 否 Also include products the dealer hides from the public board q string / query 否 Only products whose name contains this text (case-insensitive) limit integer / query 否 Page size offset integer / query 否 Items to skip refresh boolean / query 否 Bypass the 60 s cache and read the feed now data 内的响应字段 字段 类型 说明 count integer currency string products object[] products[].id string products[].name string products[].metal string products[].sell number Live SELL rate quoted by Pritam Bullion (INR). This is the price a customer pays. products[].buy number Live BUY rate (INR); null when the dealer does not quote it (site shows "--"). products[].currency string products[].displayed boolean Shown on the public live-rate board products[].trading boolean products[].in_stock boolean products[].updated_at string Feed tick time (IST, as sent by the feed) data 之外的字段 字段 类型 说明 cached boolean source string pagination object pagination.total integer pagination.limit integer pagination.offset integer pagination.count integer pagination.has_more boolean - Product
GET /product/{id}按 id(来自 /products)获取单个金银条块商品及其实时卖出价(INR)。
GET /product/{id} 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 id string / path 是 Product id from /products refresh boolean / query 否 Bypass the 60 s cache and read the feed now data 内的响应字段 字段 类型 说明 id string name string metal string sell number Live SELL rate quoted by Pritam Bullion (INR). This is the price a customer pays. buy number Live BUY rate (INR); null when the dealer does not quote it (site shows "--"). currency string displayed boolean Shown on the public live-rate board trading boolean in_stock boolean updated_at string Feed tick time (IST, as sent by the feed) data 之外的字段 字段 类型 说明 cached boolean source string - 挂钩期货价格
GET /linked-ratesGold 999 (IMP) RJT、Silver 999 RJT 和 Silver Bar 98.20+ 的卖出价,与黄金/白银期货卖价挂钩,含相对期货的升水,取自同一数据源快照。
GET /linked-rates 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 products string / query 否 featured = Gold 999 (IMP) RJT, Silver 999 RJT, Silver Bar 98.20+ Purity; all = every displayed product 可选值: featured, all. future string / query 否 Link to the current (near) or next MCX future contract 可选值: near, next. metal string / query 否 Only products of this metal 可选值: gold, silver. limit integer / query 否 Page size offset integer / query 否 Items to skip refresh boolean / query 否 Bypass the 60 s cache and read the feed now data 内的响应字段 字段 类型 说明 future string products string gold_future_ask number silver_future_ask number count integer currency string rates object[] rates[].id string rates[].key string rates[].name string rates[].metal string rates[].sell number rates[].currency string rates[].future object rates[].future.symbol string rates[].future.name string rates[].future.bid number rates[].future.ask number rates[].future.updated_at string rates[].premium number sell - future.ask (INR) rates[].ratio number sell / future.ask rates[].updated_at string data 之外的字段 字段 类型 说明 cached boolean source string pagination object pagination.total integer pagination.limit integer pagination.offset integer pagination.count integer pagination.has_more boolean - Updates
GET /updatesPritam Bullion 在其 Updates 页面发布的公告(价格调整、交割和预订通知),按时间倒序排列。可按日期范围和文本筛选。
GET /updates 的参数和响应字段
请求参数 名称 类型 / 位置 必填 说明 from string / query 否 First day (YYYY-MM-DD, IST, inclusive). Default: 29 days before `to`. The range may span at most 366 days. to string / query 否 Last day (YYYY-MM-DD, IST, inclusive). Default: today. q string / query 否 Only updates whose title or text contains this (case-insensitive) limit integer / query 否 Page size offset integer / query 否 Items to skip refresh boolean / query 否 Bypass the 60 s cache data 内的响应字段 字段 类型 说明 from string to string count integer updates object[] updates[].id integer updates[].title string updates[].description string updates[].date string Day posted (IST) updates[].time string updates[].posted_at string When it was posted, ISO 8601 with the India offset data 之外的字段 字段 类型 说明 cached boolean source string pagination object pagination.total integer pagination.limit integer pagination.offset integer pagination.count integer pagination.has_more boolean
将 Pritam Bullion 数据导出为 CSV
下面的每个列表都可以下载为 CSV 文件,每条记录一行。用上方控制台下面的 "Get all the data, no code" 卡片把列表收集到数据集中。数据集会逐页读取列表,之后可下载为 CSV、JSON 或 JSONL。
| 列表 | CSV 列 |
|---|---|
MarketGET /market | symbol, name, bid, ask, high, low, open, close, ltp, change, updated_at |
ProductsGET /products | id, name, metal, sell, buy, currency, displayed, trading, in_stock, updated_at |
挂钩期货价格GET /linked-rates | id, key, name, metal, sell, currency, future, premium, ratio, updated_at |
UpdatesGET /updates | id, title, description, date, time, posted_at |
嵌套的值(列表或对象)以 JSON 写入同一个单元格。 数据集和导出如何工作
Pritam Bullion API 常见问题
能获取什么数据、费用多少、如何调用。
Pritam Bullion 有官方 API 吗?
这个 Pritam Bullion API 不是官方 API。它是 maviapi 针对 pritamspot.com 上的公开数据提供的独立托管 API,并非由 Pritam Bullion 开发、认可或支持。Pritam Bullion 是否提供自己的开发者 API,请向 Pritam Bullion 咨询。这个 API 用一个 maviapi 密钥即可调用,它的每个端点和返回的每个字段都在本页有文档说明。
Pritam Bullion API 可以获取哪些数据?
Pritam Bullion API 有 6 个端点。每个端点都返回 JSON,参数和字段见上方的文档:
- GET
/liverate: 一次调用获取实时价格看板:商品及其卖出价,可选附带市场参考价格和经销商通知,均取自同一数据源快照。 - GET
/market: 市场参考价格:黄金/白银期货(当月和下月)、以 USD 计的黄金/白银现货价,以及 USD/INR 汇率。 - GET
/products: pritamspot.com 上列出的全部金银条块商品及其实时卖出价(INR)。 - GET
/product/{id}: 按 id(来自 /products)获取单个金银条块商品及其实时卖出价(INR)。 - GET
/linked-rates: Gold 999 (IMP) RJT、Silver 999 RJT 和 Silver Bar 98.20+ 的卖出价,与黄金/白银期货卖价挂钩,含相对期货的升水,取自同一数据源快照。 - GET
/updates: Pritam Bullion 在其 Updates 页面发布的公告(价格调整、交割和预订通知),按时间倒序排列。
Pritam Bullion API 的价格是多少?
调用用您 maviapi 套餐中的积分支付,只有成功的调用才会计费。此 API 的每个端点每次调用消耗 1 个积分。在 Hobby 套餐下(每月 $49,含 250,000 个积分),1,000 次调用约 $0.20。失败的调用不收费。Free 套餐每月提供 1,000 个积分,无需信用卡。超出部分请查看套餐和积分价格。
如何调用 Pritam Bullion API?
向端点发送 HTTPS 请求,并在 Authorization 请求头中带上您的 API 密钥。例如 GET /liverate:
curl 'https://api.maviapi.com/v1/sites/pritamspot/liverate' \
-H "Authorization: Bearer $MAVI_KEY"在您的 API 密钥页面创建密钥,或者先在上方的控制台中用免费测试密钥试用任意端点。
以 JSON 获取 Pritam Bullion 数据有哪些方式?
以 JSON 获取 Pritam Bullion 数据的每种方式适合不同的需求:
- 自己写爬虫: 完全由自己掌控,不依赖任何服务商,但解析、被拦截的请求以及 pritamspot.com 每次改版后的修复都要自己负责。更适合从很少变化的页面一次性获取数据。
- Apify: 一个 Actor 市场,Actor 由您自己运行,输入、输出和价格由各个 Actor 决定。当已有 Actor 能返回您需要的数据,或者您想托管自己的代码时更合适。参见maviapi 与 Apify 的对比。
- RapidAPI: 一个汇集了众多提供方 API 的平台,用一个 RapidAPI 密钥调用,每个 API 单独定价。当您已经在使用该平台,并且其中某个 API 能满足需求时更合适。来源:RapidAPI docs。
- maviapi: 本页的 Pritam Bullion API:6 个带文档的端点、公开的响应结构,以及一个可用于整个目录的密钥。当这些数据是您产品的一部分,而您不想维护爬虫时更合适。
pritamspot.com 改版后会怎样?
更新会破坏我的 Pritam Bullion API 集成吗?
不会。您正在使用的端点,其结构永远不会改变:新的字段、可选参数和端点只会加在旁边,会破坏调用的变更则作为新端点发布。请忽略您不认识的响应字段,新内容请关注更新日志。
相关 API
- Selcoin API
来自 Selcoin(selcoin.io)的实时行情数据:加密货币与传统金融资产的现货价格、外汇、贵金属、美股、OHLC K 线,以及单个资产的详情。
- Tripadvisor API
来自 Tripadvisor 的行程规划数据:支持地点搜索,并可按地点(geo_id)获取景点、餐厅和酒店,包含评分、评论、价格和坐标。先用 /search 解析地名,再通过…
- Google Maps API
来自 maps.google.com 的结构化数据。