Piloterr
Referência da APIEndpoints

List the endpoints you can run

GET
/v1/endpoints

Every Piloterr endpoint usable in Dataflow, with its parameters and credit cost. Endpoints turned off for Dataflow, unavailable, without parameters or that take a file as input are not listed. Search endpoints (path ending in /search) can also feed a project's input (type: search).

Autorização

ApiKeyAuth
headerX-Api-Key<token>

Corpo da resposta

Endpoints

application/json
  1. response
items*array<>
Example Request
curl -X GET 'https://dataflow.piloterr.com/v1/endpoints'
Example Response
{
  "items": [
    {
      "id": "cm0p7x3da000a08l4gs5e2n1c",
      "name": "Amazon Product",
      "path": "/v2/amazon/product",
      "method": "GET",
      "is_async": false,
      "credit_cost": 1,
      "billing_mode": "per_call",
      "status": "active",
      "params": [
        {
          "name": "query",
          "type": "string",
          "required": true,
          "description": "The product's ASIN, such as B09DFCB66S",
          "deprecated": false
        },
        {
          "name": "domain",
          "type": "string",
          "required": false,
          "description": "The Amazon marketplace, such as com (default) or fr",
          "deprecated": false
        }
      ]
    },
    {
      "id": "cm0p7x8vf000b08l4c9u1h6rt",
      "name": "Amazon Search",
      "path": "/v2/amazon/search",
      "method": "GET",
      "is_async": false,
      "credit_cost": 1,
      "billing_mode": "per_call",
      "status": "active",
      "params": [
        {
          "name": "query",
          "type": "string",
          "required": true,
          "description": "Keywords, or a search URL",
          "deprecated": false
        },
        {
          "name": "domain",
          "type": "string",
          "required": false,
          "description": "The Amazon marketplace, such as com (default) or fr",
          "deprecated": false
        },
        {
          "name": "page",
          "type": "string",
          "required": false,
          "description": "The page of results, from 1",
          "deprecated": false
        }
      ]
    }
  ]
}