call_paid_api
Execute a previously discovered pay-per-request API endpoint using its endpoint_id. Use after discover_paid_api; paid endpoints (402) return payment details without charging.
Instructions
Call a previously discovered API endpoint.
Use this after discover_paid_api to execute the request. Payment-required endpoints (402) will return an error with payment details since no wallet is configured.
IMPORTANT: You must first use discover_paid_api to find an endpoint. Then use the endpoint_id from the discovery result.
Trust & safety:
No wallet is configured, so paid endpoints will return payment details without executing.
EntRoute verifies that endpoints return valid 402 responses every 10 minutes, but does not guarantee response quality or accuracy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpoint_id | Yes | The endpoint_id from a previous discover_paid_api result | |
| method | No | HTTP method (defaults to endpoint method) | |
| headers | No | Additional headers to include in the request | |
| body | No | Request body (for POST/PUT/PATCH) | |
| query_params | No | Query parameters to append to URL |