Search Services
archive · Search
API for Internet Archive's Search-related services
Authentication
No authentication requiredFree to use with no key needed.
Sample Requests
GET
GET /search/v1/fields
Fields that can be requested
https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/fields?callback=example
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/fields?callback=example"
import requests
params = {
"callback": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/fields",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/fields');
url.searchParams.set('callback', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/fields")
q := baseURL.Query()
q.Set("callback", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/fields")
uri.query = URI.encode_www_form({
"callback" => "example"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/fields?" . http_build_query([
"callback" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
GET /search/v1/organic
Return relevance-based results from search queries
https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/organic?q=test&size=1000&field=identifier&callback=example&total_only=false
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/organic?q=test&size=1000&field=identifier&callback=example&total_only=false"
import requests
params = {
"q": "test",
"size": "1000",
"field": "identifier",
"callback": "example",
"total_only": "false"
}
response = requests.get(
"https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/organic",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/organic');
url.searchParams.set('q', 'test');
url.searchParams.set('size', '1000');
url.searchParams.set('field', 'identifier');
url.searchParams.set('callback', 'example');
url.searchParams.set('total_only', 'false');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/organic")
q := baseURL.Query()
q.Set("q", "test")
q.Set("size", "1000")
q.Set("field", "identifier")
q.Set("callback", "example")
q.Set("total_only", "false")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/organic")
uri.query = URI.encode_www_form({
"q" => "test",
"size" => "1000",
"field" => "identifier",
"callback" => "example",
"total_only" => "false"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/organic?" . http_build_query([
"q" => "test",
"size" => "1000",
"field" => "identifier",
"callback" => "example",
"total_only" => "false"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
GET /search/v1/scrape
Scrape search results from Internet Archive, allowing a scrolling cursor
https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/scrape?q=test&size=1000&sort=desc&field=identifier&cursor=example&callback=example&total_only=false
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/scrape?q=test&size=1000&sort=desc&field=identifier&cursor=example&callback=example&total_only=false"
import requests
params = {
"q": "test",
"size": "1000",
"sort": "desc",
"field": "identifier",
"cursor": "example",
"callback": "example",
"total_only": "false"
}
response = requests.get(
"https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/scrape",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/scrape');
url.searchParams.set('q', 'test');
url.searchParams.set('size', '1000');
url.searchParams.set('sort', 'desc');
url.searchParams.set('field', 'identifier');
url.searchParams.set('cursor', 'example');
url.searchParams.set('callback', 'example');
url.searchParams.set('total_only', 'false');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/scrape")
q := baseURL.Query()
q.Set("q", "test")
q.Set("size", "1000")
q.Set("sort", "desc")
q.Set("field", "identifier")
q.Set("cursor", "example")
q.Set("callback", "example")
q.Set("total_only", "false")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/scrape")
uri.query = URI.encode_www_form({
"q" => "test",
"size" => "1000",
"sort" => "desc",
"field" => "identifier",
"cursor" => "example",
"callback" => "example",
"total_only" => "false"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/archive.org/search/1.0.0/search/v1/scrape?" . http_build_query([
"q" => "test",
"size" => "1000",
"sort" => "desc",
"field" => "identifier",
"cursor" => "example",
"callback" => "example",
"total_only" => "false"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Search Services?
Search Services is a Search API. Developers commonly use search APIs for:
- adding full-text search to your app
- building autocomplete and typeahead experiences
- indexing and querying large content sets
- powering site, product, and document search
- ranking and filtering results by relevance
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Search Services is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide