Try our quick and easy data matching wizard: Create match reports for CSV/TSV datasets on company names, individual names, and addresses in seconds: Start Now!

Global Latency API

Measure real-world page load performance for any URL from a choice of worldwide locations.

API Overview

This API measures the real-world page load or API call performance of any URL from a choice of global locations. Each call performs a single live page load from the selected region and returns the total load time in seconds, the HTTP response status, and a short preview of the returned content. Simply provide a URL and an optional origin location to measure how your site, API, or endpoint performs for users around the world.

Worldwide Locations

Measure performance from multiple geographic origins to understand how your URL loads for users in different parts of the world.

Accurate Timing

Each call performs a single cold page load and reports the measured response time, ideal for scheduled monitoring and trend tracking.

Uptime & CDN Validation

Confirm availability, validate CDN and edge performance, and catch regional slowdowns before your users do.

Standard API

This API performs a single live page load measurement per call from your selected global location. For a median across multiple readings, call the API several times and average the results.

1 credit per API call

Available Measurement Locations

Specify any of the following locations with the origin parameter. If no origin is provided, or an unsupported location is requested, the measurement defaults to California.

California Virginia London Frankfurt Singapore Tokyo Sydney Sao Paulo

Sample Results

Field Example Value Description
Origin Singapore The location the measurement was performed from
Seconds 0.42 Total measured page load time, in seconds
PageResponseStatus 200 OK HTTP response status returned by the target URL
Contents <!DOCTYPE html><html lang="en-GB"... Short preview of the returned page content
Code Success Status of the API call
Credits 20088337 Remaining account credits (API key usage)

API Details

Endpoint

https://api.interzoid.com/globallatency

Request Format

https://api.interzoid.com/globallatency?license=[licensekey]&origin=[measurement location]&url=[URL to measure]

Sample Request

https://api.interzoid.com/globallatency?license=fh5hs7*****&origin=Singapore&url=bbc.com

Sample Response

{ "Origin": "Singapore", "Seconds": "0.42", "PageResponseStatus": "200 OK", "Contents": "<!DOCTYPE html><html lang=\"en-GB\" class=\"no-js\"><head>...", "Code": "Success", "Credits": "20088337" }

cURL Example (with API key in header)

curl --header "x-api-key: fh5hs7*****" "https://api.interzoid.com/globallatency?origin=Singapore&url=bbc.com"

Additional Examples

Here are additional real-world examples showing measurements of the same site from different global locations:

News Site from London UK

{ "Origin": "London", "Seconds": "0.18", "PageResponseStatus": "200 OK", "Contents": "<!DOCTYPE html><html lang=\"en-GB\" class=\"no-js\"><head>...", "Code": "Success", "Credits": "743722" }

Same Site from Tokyo Japan

{ "Origin": "Tokyo", "Seconds": "0.86", "PageResponseStatus": "200 OK", "Contents": "<!DOCTYPE html><html lang=\"en-GB\" class=\"no-js\"><head>...", "Code": "Success", "Credits": "4118227" }

These examples demonstrate how the same URL can perform very differently depending on the measurement location, reflecting real-world distance, routing, and CDN edge coverage between each region and the target server.

Try the API within a Web Application

Interactive Application

See the API in an easy-to-use interactive browser application. Simply provide a URL and a location and receive formatted results instantly.

Try it Now

Code Examples, Database Queries, and Specifications

Usage Examples

See quick and easy code examples in multiple programming languages, including Python, Node.js, Java, Typescript, and Go. Also see how to use within database queries on popular database platforms and open specifications such as OpenAPI.

See All Examples

Additional Resources

Try this API Interactively

Our API interactive usage tool enables you to try this API interactively with a user interface and without writing code. The tool is available for all of our APIs.

Try it Now
Pay-Per-Call Access for AI Agents via x402

This API is discoverable and payable by AI agents using the x402 protocol with USDC on Base. Omit the API key to receive an x402 payment challenge, pay the quoted amount per call, and retry with the payment signature.

Learn More