Quote a call in subscription credits
Credits one call to a catalog endpoint costs with your Nevermined Subscription: the endpoint's current rate on Nevermined's rate card, whatever the merchant charges at the moment of the call. Rates change without notice; the rate in force when the call is made applies.
Answers from the rate card alone — the merchant is not contacted, nothing is reserved and nothing is charged. It refuses what POST /router/subscription/route would refuse before contacting the merchant (an ineligible or untariffed endpoint, no spendable subscription), but it does NOT check your credits left, the merchant's live price or Nevermined's treasury; the route checks those when the call is made. A url is refused (BCK.SUBSCRIPTION_ROUTER.0005).
Personal API keys only: the Nevermined Subscription belongs to a personal account, so call with a key that carries no organization tag and without X-Current-Org-Id. An OAuth-minted credential is refused (BCK.OAUTH.0030). Where the subscription is not available — on this deployment or to this account — it answers 404 BCK.SUBSCRIPTION_ACCESS.0001.
Request
- Base URL: https://api.sandbox.nevermined.app/api/v1
- URL: https://api.sandbox.nevermined.app/api/v1/router/subscription/quote
- Auth: HTTP bearer
Request body
Example request
{
"slug": "webscrape-pro",
"path": "scrape"
}Response
The credits one call to this endpoint costs, and the tariff version that sets it.
Example response
{
"slug": "webscrape-pro",
"credits": 3,
"tariffVersion": 2
}Changes
No recorded changes to this operation across all 1 revision of this API.