Skip to content

Pipegate Hub

PipeGate Hub is a marketplace for API providers to list their APIs and for developers to discover and subscribe to the amazing APIs.

Register as a Provider

To register as a provider on the marketplace, you have few ways to do it and even without using any platform:

1. Register through the PipeGate Hub website.

Visit the PipeGate Hub website and register as a provider by filling out the form or JSON with the details of your API here.

SS

You can download the JSON and add it to root of your folder for future references and configurations.

2. Send a POST request to the PipeGate Hub API with the details of your API.

Prepare a POST request with the body containing details of your API and the endpoint you support along with the payment information:

Terminal
curl -X POST "https://app.pipegate.xyz/api" \
-H "Content-Type: application/json" \
-d '{
"name": "My Awesome API",
"shortDescription": "Short description of my API",  // per month (STREAM) or per call (ONE_TIME)
"description": "A detailed description of my API",
"pricing": 1, // per month (STREAM) or per call (ONE_TIME)
"baseUrl": "https://api.example.com",
"endpoints": [
    {
    "method": "GET",
    "path": "/"
    }
],
"network": "BASE_MAINNET",
"token": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", // USDC token address
"paymentType": "ONE_TIME", // STREAM, ONE_TIME
"providerId": "0x...WALLET_ADDRESf"
}'

3. Send a POST request to the PiepGate Hub API with a link to the configuration file.

Create a JSON file or inline and expore it from the endpoint /pipegate-config with the following content:

{
"name": "My Awesome API",
"shortDescription": "Short description of my API", // per month (STREAM) or per call (ONE_TIME)
"description": "A detailed description of my API",
"pricing": 1000000,
"baseUrl": "https://api.example.com",
"endpoints": [
    {
    "method": "GET",
    "path": "/"
    }
],
"network": "BASE_MAINNET",
"token": "0x036CbD53842c5426634e7929541eC2318f3dCF7e", // USDC token address
"paymentType": "ONE_TIME", // STREAM, ONE_TIME
"providerId": "0x...WALLET_ADDRESf"
}

Then, send a POST request to the PipeGate Hub API with the link to your API base URL

Terminal
curl -X POST "https://app.pipegate.xyz/api?base_url=https://api.example.com" \
-H "Content-Type: application/json"

Retrieveing all the APIs

To retrieve all the APIs registered on the PipeGate Hub, you can send a GET request to the PipeGate Hub API:

Terminal
curl -X GET "https://app.pipegate.xyz/api"

Retrieveing a specific API

To retrieve a specific API registered on the PipeGate Hub, you can send a GET request to the PipeGate Hub API with the API ID:

Terminal
curl -X GET "https://app.pipegate.xyz/api/:id"