Catalog

Explain one endpoint's price

Breaks one endpoint's price into base cost, percentage markup, flat markup, your margin, and the customer-visible effective price, and names which configuration level supplied each markup. Endpoints priced live per call return the honest variable shape with null money fields rather than a fabricated base.

get/credits/pricing/explain

Request

  • Base URL
    https://api.paywithlocus.com/api
  • URL
    https://api.paywithlocus.com/api/credits/pricing/explain
  • Auth
    • HTTP bearer
    • or HTTP bearer

Query parameters

providerstring required

Provider id, for example tavily.

endpointstring required

Endpoint name within that provider, for example search.

argsstring

JSON-encoded call arguments, used to price metered endpoints. Malformed JSON returns 400; any other JSON value parses and is passed through to the cost function, which ignores what it cannot use.

Response

Price breakdown

successunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.