Skip to content

最后更新

更新日志

Pritam Bullion API

正常只读

Rajkot 的 Pritam Bullion Pvt Ltd 提供的实时金银报价:每款黄金和白银产品及其当前卖出价,另有 MCX 和现货参考价。 来源: pritamspot.com.

基础 URL
https://api.maviapi.com/v1/sites/pritamspot
6
端点
10 min ago
最近验证
1544ms
p50 延迟
1
自动修复 / 累计
GET/liverate1 credit per call

Liverate

一次调用获取实时价格看板:商品及其卖出价,可选附带市场参考价格和经销商通知,均取自同一数据源快照。

Bearer auth. Pass your key as Authorization: Bearer <key> on every request.
stringOptionalin query

What to return with the products

stringOptionalin query

Only products of this metal

booleanOptionalin query

Also include products the dealer hides from the public board

integerOptionalin query

Page size

integerOptionalin query

Items to skip

booleanOptionalin query

Bypass the 60 s cache and read the feed now

Fields inside data.

includestringe.g."all"
countintegere.g.6
currencystringe.g."INR"
productsobject[]10 fields
idstringe.g."130"
namestringe.g."GOLD 995 (IND-BIS) RJT"
metalstringOne of gold, silvere.g."gold"
sellnumbernullableLive SELL rate quoted by Pritam Bullion (INR). This is the price a customer pays.e.g.145575
buynumbernullableLive BUY rate (INR); null when the dealer does not quote it (site shows "--").
currencystringe.g."INR"
displayedbooleanShown on the public live-rate boarde.g.true
tradingbooleane.g.true
in_stockbooleannullable
updated_atstringnullableFeed tick time (IST, as sent by the feed)e.g."11:58:46 PM"
marketobject[]11 fieldsPresent unless include=products
symbolstringe.g."gold"
namestringe.g."GOLD FUTURE"
bidnumbernullablee.g.142240
asknumbernullablee.g.142430
highnumbernullablee.g.142886
lownumbernullablee.g.141200
opennumbernullablee.g.142161
closenumbernullablee.g.144095
ltpnumbernullablee.g.142364
changenumbernullablee.g.-1675
updated_atstringnullablee.g."11:58:46 PM"
dealerobject5 fieldsPresent when include=all
firmstringe.g."PRITAM BULLION PVT LTD."
rates_livebooleane.g.true
noticesstring[]e.g.["FOR NEW ACCOUNT OPEN PLEASE CALL - 81408 81000"]
booking_numbersstring[]e.g.["8153081000"]
emailstringnullablee.g."Pritambullionpvtltd@gmail.com"
Next to data, every response also has cached, source and pagination.
cachedbooleane.g.false
sourcestringe.g."pritamspot:combo"
paginationobject5 fields
totalintegere.g.6
limitintegere.g.50
offsetintegere.g.0
countintegere.g.6
has_morebooleane.g.false
Try itLive
GET
https://api.maviapi.com/v1/sites/pritamspot/liverate?include=all&metal=gold&include_hidden=false&limit=50&offset=0&refresh=false
Request
curl "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"
Example1.1 KB
{
  "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.

How to connect
https://mcp.maviapi.com/mcp

Or 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 import

Paste 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 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    includestring / query否What to return with the products 可选值: products, products+market, all.
    metalstring / query否Only products of this metal 可选值: gold, silver.
    include_hiddenboolean / query否Also include products the dealer hides from the public board
    limitinteger / query否Page size
    offsetinteger / query否Items to skip
    refreshboolean / query否Bypass the 60 s cache and read the feed now
    data 内的响应字段
    字段类型说明
    includestring
    countinteger
    currencystring
    productsobject[]
    products[].idstring
    products[].namestring
    products[].metalstring
    products[].sellnumberLive SELL rate quoted by Pritam Bullion (INR). This is the price a customer pays.
    products[].buynumberLive BUY rate (INR); null when the dealer does not quote it (site shows "--").
    products[].currencystring
    products[].displayedbooleanShown on the public live-rate board
    products[].tradingboolean
    products[].in_stockboolean
    products[].updated_atstringFeed tick time (IST, as sent by the feed)
    marketobject[]Present unless include=products
    market[].symbolstring
    market[].namestring
    market[].bidnumber
    market[].asknumber
    market[].highnumber
    market[].lownumber
    market[].opennumber
    market[].closenumber
    market[].ltpnumber
    market[].changenumber
    market[].updated_atstring
    dealerobjectPresent when include=all
    dealer.firmstring
    dealer.rates_liveboolean
    dealer.noticesstring[]
    dealer.booking_numbersstring[]
    dealer.emailstring
    data 之外的字段
    字段类型说明
    cachedboolean
    sourcestring
    paginationobject
    pagination.totalinteger
    pagination.limitinteger
    pagination.offsetinteger
    pagination.countinteger
    pagination.has_moreboolean
  • Market GET /market

    市场参考价格:黄金/白银期货(当月和下月)、以 USD 计的黄金/白银现货价,以及 USD/INR 汇率。

    GET /market 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    limitinteger / query否Page size
    offsetinteger / query否Items to skip
    refreshboolean / query否Bypass the 60 s cache and read the feed now
    data 内的响应字段
    字段类型说明
    countinteger
    ratesobject[]
    rates[].symbolstring
    rates[].namestring
    rates[].bidnumber
    rates[].asknumber
    rates[].highnumber
    rates[].lownumber
    rates[].opennumber
    rates[].closenumber
    rates[].ltpnumber
    rates[].changenumber
    rates[].updated_atstring
    data 之外的字段
    字段类型说明
    cachedboolean
    sourcestring
    paginationobject
    pagination.totalinteger
    pagination.limitinteger
    pagination.offsetinteger
    pagination.countinteger
    pagination.has_moreboolean
  • Products GET /products

    pritamspot.com 上列出的全部金银条块商品及其实时卖出价(INR)。

    GET /products 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    metalstring / query否Only products of this metal 可选值: gold, silver.
    include_hiddenboolean / query否Also include products the dealer hides from the public board
    qstring / query否Only products whose name contains this text (case-insensitive)
    limitinteger / query否Page size
    offsetinteger / query否Items to skip
    refreshboolean / query否Bypass the 60 s cache and read the feed now
    data 内的响应字段
    字段类型说明
    countinteger
    currencystring
    productsobject[]
    products[].idstring
    products[].namestring
    products[].metalstring
    products[].sellnumberLive SELL rate quoted by Pritam Bullion (INR). This is the price a customer pays.
    products[].buynumberLive BUY rate (INR); null when the dealer does not quote it (site shows "--").
    products[].currencystring
    products[].displayedbooleanShown on the public live-rate board
    products[].tradingboolean
    products[].in_stockboolean
    products[].updated_atstringFeed tick time (IST, as sent by the feed)
    data 之外的字段
    字段类型说明
    cachedboolean
    sourcestring
    paginationobject
    pagination.totalinteger
    pagination.limitinteger
    pagination.offsetinteger
    pagination.countinteger
    pagination.has_moreboolean
  • Product GET /product/{id}

    按 id(来自 /products)获取单个金银条块商品及其实时卖出价(INR)。

    GET /product/{id} 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    idstring / path是Product id from /products
    refreshboolean / query否Bypass the 60 s cache and read the feed now
    data 内的响应字段
    字段类型说明
    idstring
    namestring
    metalstring
    sellnumberLive SELL rate quoted by Pritam Bullion (INR). This is the price a customer pays.
    buynumberLive BUY rate (INR); null when the dealer does not quote it (site shows "--").
    currencystring
    displayedbooleanShown on the public live-rate board
    tradingboolean
    in_stockboolean
    updated_atstringFeed tick time (IST, as sent by the feed)
    data 之外的字段
    字段类型说明
    cachedboolean
    sourcestring
  • 挂钩期货价格 GET /linked-rates

    Gold 999 (IMP) RJT、Silver 999 RJT 和 Silver Bar 98.20+ 的卖出价,与黄金/白银期货卖价挂钩,含相对期货的升水,取自同一数据源快照。

    GET /linked-rates 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    productsstring / query否featured = Gold 999 (IMP) RJT, Silver 999 RJT, Silver Bar 98.20+ Purity; all = every displayed product 可选值: featured, all.
    futurestring / query否Link to the current (near) or next MCX future contract 可选值: near, next.
    metalstring / query否Only products of this metal 可选值: gold, silver.
    limitinteger / query否Page size
    offsetinteger / query否Items to skip
    refreshboolean / query否Bypass the 60 s cache and read the feed now
    data 内的响应字段
    字段类型说明
    futurestring
    productsstring
    gold_future_asknumber
    silver_future_asknumber
    countinteger
    currencystring
    ratesobject[]
    rates[].idstring
    rates[].keystring
    rates[].namestring
    rates[].metalstring
    rates[].sellnumber
    rates[].currencystring
    rates[].futureobject
    rates[].future.symbolstring
    rates[].future.namestring
    rates[].future.bidnumber
    rates[].future.asknumber
    rates[].future.updated_atstring
    rates[].premiumnumbersell - future.ask (INR)
    rates[].rationumbersell / future.ask
    rates[].updated_atstring
    data 之外的字段
    字段类型说明
    cachedboolean
    sourcestring
    paginationobject
    pagination.totalinteger
    pagination.limitinteger
    pagination.offsetinteger
    pagination.countinteger
    pagination.has_moreboolean
  • Updates GET /updates

    Pritam Bullion 在其 Updates 页面发布的公告(价格调整、交割和预订通知),按时间倒序排列。可按日期范围和文本筛选。

    GET /updates 的参数和响应字段
    请求参数
    名称类型 / 位置必填说明
    fromstring / query否First day (YYYY-MM-DD, IST, inclusive). Default: 29 days before `to`. The range may span at most 366 days.
    tostring / query否Last day (YYYY-MM-DD, IST, inclusive). Default: today.
    qstring / query否Only updates whose title or text contains this (case-insensitive)
    limitinteger / query否Page size
    offsetinteger / query否Items to skip
    refreshboolean / query否Bypass the 60 s cache
    data 内的响应字段
    字段类型说明
    fromstring
    tostring
    countinteger
    updatesobject[]
    updates[].idinteger
    updates[].titlestring
    updates[].descriptionstring
    updates[].datestringDay posted (IST)
    updates[].timestring
    updates[].posted_atstringWhen it was posted, ISO 8601 with the India offset
    data 之外的字段
    字段类型说明
    cachedboolean
    sourcestring
    paginationobject
    pagination.totalinteger
    pagination.limitinteger
    pagination.offsetinteger
    pagination.countinteger
    pagination.has_moreboolean

将 Pritam Bullion 数据导出为 CSV

下面的每个列表都可以下载为 CSV 文件,每条记录一行。用上方控制台下面的 "Get all the data, no code" 卡片把列表收集到数据集中。数据集会逐页读取列表,之后可下载为 CSV、JSON 或 JSONL。

列表CSV 列
MarketGET /marketsymbol, name, bid, ask, high, low, open, close, ltp, change, updated_at
ProductsGET /productsid, name, metal, sell, buy, currency, displayed, trading, in_stock, updated_at
挂钩期货价格GET /linked-ratesid, key, name, metal, sell, currency, future, premium, ratio, updated_at
UpdatesGET /updatesid, 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
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 改版后会怎样?

您的代码不需要改动。pritamspot.com 修改页面时,maviapi 会让 Pritam Bullion API 保持可用,您继续调用同样的端点,并得到本页文档所述结构的 JSON。它当前的运行状况见状态页,变更记录见它的更新日志。

更新会破坏我的 Pritam Bullion API 集成吗?

不会。您正在使用的端点,其结构永远不会改变:新的字段、可选参数和端点只会加在旁边,会破坏调用的变更则作为新端点发布。请忽略您不认识的响应字段,新内容请关注更新日志。

  • Selcoin API

    来自 Selcoin(selcoin.io)的实时行情数据:加密货币与传统金融资产的现货价格、外汇、贵金属、美股、OHLC K 线,以及单个资产的详情。

  • Tripadvisor API

    来自 Tripadvisor 的行程规划数据:支持地点搜索,并可按地点(geo_id)获取景点、餐厅和酒店,包含评分、评论、价格和坐标。先用 /search 解析地名,再通过…

  • Google Maps API

    来自 maps.google.com 的结构化数据。