Skip to main content
POST
Quote a call in subscription credits

Authorizations

Authorization
string
header
required

Your Nevermined API Key (starts with 'nvm:'). Get one at nevermined.app under Settings > API Keys.

Body

application/json
slug
string
required

Catalog slug of the service to call. Subscription credits pay catalog services only, addressed by slug; the Router resolves it to the merchant server-side.

Pattern: ^[A-Za-z0-9._~-]+$
Example:

"webscrape-pro"

path
string

Subpath of the endpoint to price, as on the route (path segments only).

Maximum string length: 2048
Example:

"scrape"

method
enum<string>
default:GET

HTTP method of the call to price.

Available options:
GET,
POST,
PUT,
PATCH,
DELETE

Response

The credits one call to this endpoint costs, and the tariff version that sets it.

slug
string
required

The catalog slug priced.

Example:

"webscrape-pro"

credits
integer
required

Credits one call to this endpoint costs: its current rate on Nevermined's rate card, whatever the merchant charges at the moment of the call.

Example:

3

tariffVersion
integer
required

The tariff version that sets credits.

Example:

2