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": "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
},
{
"slug": "google-maps-reviews-export",
"version": 1,
"title": "Google Maps reviews export",
"summary": "Every review for a list of places as rows, newest first, back to a date if you want.",
"site": {
"key": "google-maps",
"name": "Google Maps",
"domain": "google.com"
},
"categories": [
"reviews",
"lead-generation"
],
"tool": "batch",
"featured": true,
"gallery": true,
"status": "active",
"fields": [
"Place",
"Stars",
"Date",
"..."
],
"usesAi": false,
"availability": null
}
],
"categories": [
{
"key": "lead-generation",
"label": "Lead generation"
},
{
"key": "reviews",
"label": "Reviews and reputation"
},
{
"key": "ecommerce",
"label": "E-commerce"
},
{
"key": "jobs",
"label": "Jobs"
},
{
"key": "social-media",
"label": "Social media"
},
{
"key": "real-estate",
"label": "Real estate"
},
{
"key": "ai-and-documents",
"label": "AI and documents"
},
{
"key": "research",
"label": "Research"
},
{
"key": "travel",
"label": "Travel"
}
],
"sites": [
{
"key": "google-maps",
"name": "Google Maps",
"domain": "google.com"
},
{
"key": "amazon",
"name": "Amazon",
"domain": "amazon.com"
},
{
"key": "walmart",
"name": "Walmart",
"domain": "walmart.com"
},
{
"key": "ebay",
"name": "eBay",
"domain": "ebay.com"
}
]
}Templates
List templates
Lists the templates you can run, with what each one returns. No API key needed.
Filter with category, site or q. The response also lists every category and every site, so you can build filters from it. Get a template’s inputs with Get a template, then run it. See Templates.
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": "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
},
{
"slug": "google-maps-reviews-export",
"version": 1,
"title": "Google Maps reviews export",
"summary": "Every review for a list of places as rows, newest first, back to a date if you want.",
"site": {
"key": "google-maps",
"name": "Google Maps",
"domain": "google.com"
},
"categories": [
"reviews",
"lead-generation"
],
"tool": "batch",
"featured": true,
"gallery": true,
"status": "active",
"fields": [
"Place",
"Stars",
"Date",
"..."
],
"usesAi": false,
"availability": null
}
],
"categories": [
{
"key": "lead-generation",
"label": "Lead generation"
},
{
"key": "reviews",
"label": "Reviews and reputation"
},
{
"key": "ecommerce",
"label": "E-commerce"
},
{
"key": "jobs",
"label": "Jobs"
},
{
"key": "social-media",
"label": "Social media"
},
{
"key": "real-estate",
"label": "Real estate"
},
{
"key": "ai-and-documents",
"label": "AI and documents"
},
{
"key": "research",
"label": "Research"
},
{
"key": "travel",
"label": "Travel"
}
],
"sites": [
{
"key": "google-maps",
"name": "Google Maps",
"domain": "google.com"
},
{
"key": "amazon",
"name": "Amazon",
"domain": "amazon.com"
},
{
"key": "walmart",
"name": "Walmart",
"domain": "walmart.com"
},
{
"key": "ebay",
"name": "eBay",
"domain": "ebay.com"
}
]
}Query Parameters
Only templates in this category.
Available options:
lead-generation, reviews, ecommerce, jobs, social-media, real-estate, ai-and-documents, research, travel Only templates for this site, by its key from sites.
Only templates whose title, summary or site name contains this text. Not case sensitive.
Response
200 - application/json
The templates that match, every category and every site.
Was this page helpful?

