Proof of Address API
curl --request POST \
--url https://identity.contra.id/v1/poaimport requests
url = "https://identity.contra.id/v1/poa"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://identity.contra.id/v1/poa', 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://identity.contra.id/v1/poa",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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://identity.contra.id/v1/poa"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://identity.contra.id/v1/poa")
.asString();require 'uri'
require 'net/http'
url = URI("https://identity.contra.id/v1/poa")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyIdentity & Documents
Proof of Address API
Verify a utility bill, bank statement, or government letter — OCR extraction + geocoding + name match.
POST
/
v1
/
poa
Proof of Address API
curl --request POST \
--url https://identity.contra.id/v1/poaimport requests
url = "https://identity.contra.id/v1/poa"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://identity.contra.id/v1/poa', 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://identity.contra.id/v1/poa",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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://identity.contra.id/v1/poa"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://identity.contra.id/v1/poa")
.asString();require 'uri'
require 'net/http'
url = URI("https://identity.contra.id/v1/poa")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_bodyRequest
curl -X POST https://identity.contra.id/v1/poa \
-H "x-api-key: $CONTRA_KEY" -H "Content-Type: application/json" \
-d '{
"document_image": "data:image/jpeg;base64,/9j/4AAQ…",
"expected_name": "Mikayla Halvorson",
"country": "GB",
"max_age_days": 90
}'
| Body | Type | Required | Description |
|---|---|---|---|
document_image | string | yes | Base64-encoded JPEG/PNG/PDF. |
expected_name | string | recommended | Triggers name-match warning if different. |
country | ISO-2 | recommended | For geocoding + issuer validation. |
max_age_days | integer | no | Reject documents older than N days (default 90). |
Response · 200
{
"poa_id": "poa_4ac8…",
"status": "passed",
"extracted": {
"name": "Mikayla Halvorson",
"address": "12 Downing St, London SW1A 2AA, UK",
"issuer": "British Gas",
"issued_at": "2026-04-12"
},
"checks": {
"name_match": "passed",
"geocode": "passed",
"freshness": "passed",
"tamper_score": 0.04
}
}
⌘I