List Providers and Endpoints
curl --request GET \
--url https://api.glasser.ai/public/catalogimport requests
url = "https://api.glasser.ai/public/catalog"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.glasser.ai/public/catalog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.glasser.ai/public/catalog",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.glasser.ai/public/catalog"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.glasser.ai/public/catalog")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.glasser.ai/public/catalog")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"provider_count": 123,
"endpoint_count": 123,
"providers": [
{
"provider": "<string>",
"label": "<string>",
"description": "<string>",
"logo": "<string>",
"endpoint_count": 123,
"categories": [
"<string>"
]
}
],
"entries": [
{
"provider": "<string>",
"provider_label": "<string>",
"endpoint": "<string>",
"name": "<string>",
"description": "<string>",
"category": "<string>",
"category_label": "<string>",
"price_usd": "<string>",
"price_unit": "<string>",
"price_cap_usd": "<string>"
}
]
}Endpoints
List Providers and Endpoints
GET
/
public
/
catalog
List Providers and Endpoints
curl --request GET \
--url https://api.glasser.ai/public/catalogimport requests
url = "https://api.glasser.ai/public/catalog"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.glasser.ai/public/catalog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.glasser.ai/public/catalog",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.glasser.ai/public/catalog"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.glasser.ai/public/catalog")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.glasser.ai/public/catalog")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"provider_count": 123,
"endpoint_count": 123,
"providers": [
{
"provider": "<string>",
"label": "<string>",
"description": "<string>",
"logo": "<string>",
"endpoint_count": 123,
"categories": [
"<string>"
]
}
],
"entries": [
{
"provider": "<string>",
"provider_label": "<string>",
"endpoint": "<string>",
"name": "<string>",
"description": "<string>",
"category": "<string>",
"category_label": "<string>",
"price_usd": "<string>",
"price_unit": "<string>",
"price_cap_usd": "<string>"
}
]
}Get the public Data Sources list in one response. Use it to browse Providers,
build a Provider picker, or choose an Endpoint for your product.
Free. No Key, request body, or pagination is required. Match
The server can return the previous list while it refreshes or if a refresh
fails. An entry in this list does not guarantee access under your Key’s Policy.
provider
between providers and entries to find a Provider’s Endpoints.
The response is cached and does not apply your Key’s Policy. It contains
display prices, without input schemas or full charge rules. Use
Inspect with your Key for these details,
then create a Run to retrieve data.
Response
integer
required
Number of Providers in
providers.integer
required
Number of Endpoints in
entries.object[]
required
Providers in the public Data Sources list.
Show Provider fields
Show Provider fields
string
required
Provider identifier, such as
apify. Matches entries[].provider.string
required
Display name, such as
Apify.string
required
Short description. An empty string means no description is available.
string
required
Logo filename used by the website, not a full URL. An empty string means
no logo is available.
integer
required
Number of entries for this Provider.
string[]
required
Category identifiers covered by this Provider’s Endpoints.
object[]
required
One entry per Endpoint in the public list.
Show Endpoint fields
Show Endpoint fields
string
required
Provider identifier. Use it together with
endpoint to inspect or run.string
required
Provider display name.
string
required
Endpoint identifier, such as
/apify/instagram-post-scraper.string
required
Endpoint display name.
string
required
What the Endpoint retrieves.
string
required
Category identifier, such as
instagram.string
required
Category display name, such as
Instagram.string
required
Display price in USD, as a decimal string. Read with
price_unit;
inspect for the full charge rules.string
required
run, result, or 1M input tokens.string
Maximum charge per Run, when included for a metered Price.
Caching and status codes
Reuse the response according toCache-Control. You can send its ETag in an
If-None-Match header on your next request.
| Status | Meaning |
|---|---|
200 | The public list as JSON. |
304 | The ETag matches. Reuse your saved response; this response has no body. |
503 | No list is available. Retry later; the error code is service_unavailable. |