Skip to main content
Call supported Locus tools and pay from a Tempo wallet funded with USDC.e. MPP uses an HTTP 402 payment challenge, so your agent can buy a result without first opening or funding a Locus account.

How it works

1

Send the request

Send the provider request to its MPP endpoint without a payment credential.
2

Receive a 402 challenge

The response identifies the price, USDC.e token, Tempo recipient, and payment requirements.
3

Authorize payment

Inspect the challenge, sign the payment with the Tempo wallet, and resend the same request with the resulting payment credential.
4

Receive the provider response

Locus verifies payment and dispatches the validated request to the provider.

Pricing

The payment challenge shows the actual price and asset. Check both before signing; catalog prices are estimates. Most tools charge once per request. Origami Research charges for usage within a budget you set.

Refunds for one-time calls

If a provider fails after a one-time payment settles, Locus attempts to refund USDC.e to the same Tempo wallet. A completed refund includes both refunded: true and refundTxHash in the error response. Refunds can fail. Check for both confirmation fields before treating the payment as returned.

Origami usage sessions

Origami Research uses an MPP usage session over server-sent events instead of a one-time payment. It bills $0.018 per settled origami_credit. Set maxCredits to cap the run’s budget, from 5 to 10,000 credits. The suggested deposit funds the channel; the final charge follows billable usage during the stream. Already metered credits are not automatically refunded if the stream later disconnects or fails. Use the Origami reference for request fields and session handling.

Supported providers

MPP supports 37 provider namespaces, shown as 35 dashboard provider groups because the Diffbot namespaces share one group. Send your agent the provider reference for request fields, examples, prices, and the correct MPP host:

A–D

E–M

O–Z

Fetch only the provider needed for the current task. For example: curl -s https://paywithlocus.com/mpp/parallel.md.
Each provider host also exposes an OpenAPI 3.1 discovery document at https://<namespace>.mpp.paywithlocus.com/openapi.json.