Get the result of a custom-connection import
curl --request GET \
--url https://api.range.org/v2/account-connections/{id}/imports/{importId} \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.range.org/v2/account-connections/{id}/imports/{importId}"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.range.org/v2/account-connections/{id}/imports/{importId}', 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.range.org/v2/account-connections/{id}/imports/{importId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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.range.org/v2/account-connections/{id}/imports/{importId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
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.range.org/v2/account-connections/{id}/imports/{importId}")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v2/account-connections/{id}/imports/{importId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"import_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "processing",
"accounts_upserted": 2,
"snapshots_upserted": 10,
"movements_upserted": 4,
"file_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"errors": [
{
"file": "snapshots",
"row": 2,
"code": "VALIDATION_ERROR",
"message": "quantity must be a decimal string"
}
],
"errors_truncated": 0,
"fiat_lines_ignored": 1,
"wallets": [
{
"wallet_account_id": "<string>",
"wallet_name": "<string>",
"client_entity_id": "<string>",
"client_name": "<string>",
"network": "<string>",
"books_account_id": "<string>",
"created_account": true,
"statements": 123,
"snapshots": 123,
"movements": 123,
"books_through": "<string>",
"reruns": [
{
"month": "2026-10",
"run_id": "<string>",
"reason": "no_run"
}
]
}
],
"unmatched": [
{
"statement_index": 123,
"external_id": "<string>",
"network": "<string>",
"reason": {}
}
],
"conflicts": [
{
"statement_index": 123,
"external_id": "<string>",
"network": "<string>",
"wallet_account_id": "<string>",
"existing_books_account_id": "<string>",
"existing_connection_id": "<string>"
}
]
}Account Connections
Get the result of a custom-connection import
Status, upsert counts, and per-row validation errors.
GET
/
v2
/
account-connections
/
{id}
/
imports
/
{importId}
Get the result of a custom-connection import
curl --request GET \
--url https://api.range.org/v2/account-connections/{id}/imports/{importId} \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.range.org/v2/account-connections/{id}/imports/{importId}"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.range.org/v2/account-connections/{id}/imports/{importId}', 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.range.org/v2/account-connections/{id}/imports/{importId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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.range.org/v2/account-connections/{id}/imports/{importId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
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.range.org/v2/account-connections/{id}/imports/{importId}")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v2/account-connections/{id}/imports/{importId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"import_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "processing",
"accounts_upserted": 2,
"snapshots_upserted": 10,
"movements_upserted": 4,
"file_sha256": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"errors": [
{
"file": "snapshots",
"row": 2,
"code": "VALIDATION_ERROR",
"message": "quantity must be a decimal string"
}
],
"errors_truncated": 0,
"fiat_lines_ignored": 1,
"wallets": [
{
"wallet_account_id": "<string>",
"wallet_name": "<string>",
"client_entity_id": "<string>",
"client_name": "<string>",
"network": "<string>",
"books_account_id": "<string>",
"created_account": true,
"statements": 123,
"snapshots": 123,
"movements": 123,
"books_through": "<string>",
"reruns": [
{
"month": "2026-10",
"run_id": "<string>",
"reason": "no_run"
}
]
}
],
"unmatched": [
{
"statement_index": 123,
"external_id": "<string>",
"network": "<string>",
"reason": {}
}
],
"conflicts": [
{
"statement_index": 123,
"external_id": "<string>",
"network": "<string>",
"wallet_account_id": "<string>",
"existing_books_account_id": "<string>",
"existing_connection_id": "<string>"
}
]
}Authorizations
AuthorizationAuthorization
Authorization method required to allow user to access the api endpoints.
Path Parameters
Resource identifier.
Example:
"550e8400-e29b-41d4-a716-446655440000"
Resource identifier.
Example:
"550e8400-e29b-41d4-a716-446655440000"
Response
200 - application/json
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Available options:
processing, completed, failed Example:
2
Example:
10
Example:
4
SHA-256 of the uploaded file bytes. Null for imports created before the digest was stored.
Example:
"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
Show child attributes
Show child attributes
Row errors omitted after the stored cap.
Example:
0
Books connections only: ISO-4217 lines with no token address, which a books import does not write.
Example:
1
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?