List Templates
curl --request GET \
--url https://api.spidra.io/api/templatesimport requests
url = "https://api.spidra.io/api/templates"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.spidra.io/api/templates', 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.spidra.io/api/templates",
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.spidra.io/api/templates"
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.spidra.io/api/templates")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spidra.io/api/templates")
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{
"status": "success",
"templates": [
{
"slug": "<string>",
"version": 123,
"title": "<string>",
"summary": "<string>",
"site": {
"key": "<string>",
"name": "<string>",
"domain": "<string>"
},
"categories": [
"<string>"
],
"tool": "batch",
"featured": true,
"gallery": true,
"status": "active",
"fields": [
"<string>"
],
"usesAi": true,
"availability": {
"state": "notice",
"message": "<string>"
}
}
],
"categories": [
{
"key": "<string>",
"label": "<string>"
}
],
"sites": [
{
"key": "<string>",
"name": "<string>",
"domain": "<string>"
}
]
}Templates
List Templates
List every template you can run, filtered by category, site or text.
GET
/
templates
List Templates
curl --request GET \
--url https://api.spidra.io/api/templatesimport requests
url = "https://api.spidra.io/api/templates"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.spidra.io/api/templates', 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.spidra.io/api/templates",
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.spidra.io/api/templates"
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.spidra.io/api/templates")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.spidra.io/api/templates")
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{
"status": "success",
"templates": [
{
"slug": "<string>",
"version": 123,
"title": "<string>",
"summary": "<string>",
"site": {
"key": "<string>",
"name": "<string>",
"domain": "<string>"
},
"categories": [
"<string>"
],
"tool": "batch",
"featured": true,
"gallery": true,
"status": "active",
"fields": [
"<string>"
],
"usesAi": true,
"availability": {
"state": "notice",
"message": "<string>"
}
}
],
"categories": [
{
"key": "<string>",
"label": "<string>"
}
],
"sites": [
{
"key": "<string>",
"name": "<string>",
"domain": "<string>"
}
]
}Lists the templates you can run. No API key is needed. Filter with
Each template looks like this (the first of five Google Maps templates):
The response also lists every
category, site or q.
curl "https://api.spidra.io/api/templates?site=google-maps"
{
"slug": "google-maps-leads",
"version": 4,
"title": "Google Maps leads",
"summary": "Businesses with phone, website, rating and address for a search in one or more areas, plus emails and social links if you want them.",
"site": { "key": "google-maps", "name": "Google Maps", "domain": "google.com" },
"categories": ["lead-generation"],
"tool": "batch",
"featured": true,
"gallery": true,
"status": "active",
"fields": ["Name", "Category", "Phone", "Website", "Emails", "Instagram", "Facebook", "LinkedIn", "Rating", "Reviews", "Address", "Maps link"],
"usesAi": false,
"availability": null
}
categories value (lead-generation, reviews, ecommerce, jobs, social-media, real-estate, ai-and-documents, research, travel) and every sites value, for filtering.
fieldsare the columns the results table shows by default. Rows have more fields than these.usesAiistruefor the few templates that extract with AI, which adds token credits.availabilityisnullunless the template has a notice (state: "notice", it still runs) or is paused (state: "off", runs are refused). Paused templates aren’t listed.
Query Parameters
Only this category, such as lead-generation or ecommerce. The response lists them in categories.
Only templates for this site, such as google-maps or amazon. The response lists them in sites.
Only templates whose title, summary or site contains this text.
Was this page helpful?

