Address typeahead
curl --request GET \
--url https://sendpaperplane.com/v1/address/autocompleteimport requests
url = "https://sendpaperplane.com/v1/address/autocomplete"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sendpaperplane.com/v1/address/autocomplete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET'};
fetch('https://sendpaperplane.com/v1/address/autocomplete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sendpaperplane.com/v1/address/autocomplete"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://sendpaperplane.com/v1/address/autocomplete")
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<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sendpaperplane.com/v1/address/autocomplete",
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;
}HttpResponse<String> response = Unirest.get("https://sendpaperplane.com/v1/address/autocomplete")
.asString();{
"enabled": true,
"suggestions": [
{
"label": "742 Evergreen Terrace, Springfield, IL 62704",
"line1": "742 Evergreen Terrace",
"city": "Springfield",
"state": "IL",
"zip": "62704",
"lat": 39.78,
"lon": -89.65
}
]
}{
"status": "failed",
"code": "<string>",
"reason": "<string>",
"next": [
"<string>"
]
}Address typeahead
Server-side proxy so the geocoding key never reaches a browser. Returns enabled: false with no suggestions when no key is configured. Suggestions are convenience only — USPS verification at order time remains authoritative.
GET
/
v1
/
address
/
autocomplete
Address typeahead
curl --request GET \
--url https://sendpaperplane.com/v1/address/autocompleteimport requests
url = "https://sendpaperplane.com/v1/address/autocomplete"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://sendpaperplane.com/v1/address/autocomplete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));const options = {method: 'GET'};
fetch('https://sendpaperplane.com/v1/address/autocomplete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://sendpaperplane.com/v1/address/autocomplete"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://sendpaperplane.com/v1/address/autocomplete")
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<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://sendpaperplane.com/v1/address/autocomplete",
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;
}HttpResponse<String> response = Unirest.get("https://sendpaperplane.com/v1/address/autocomplete")
.asString();{
"enabled": true,
"suggestions": [
{
"label": "742 Evergreen Terrace, Springfield, IL 62704",
"line1": "742 Evergreen Terrace",
"city": "Springfield",
"state": "IL",
"zip": "62704",
"lat": 39.78,
"lon": -89.65
}
]
}{
"status": "failed",
"code": "<string>",
"reason": "<string>",
"next": [
"<string>"
]
}Query Parameters
Partial address. Missing, or fewer than 3 characters, returns no suggestions rather than an error.
Maximum string length:
120Response
Up to 5 US address suggestions. Degrades to an empty list rather than an error when no key is configured (enabled: false), when q is under 3 or over 120 characters, or when the upstream geocoder fails.
Last modified on September 17, 2026
Was this page helpful?