Speed Check API Documentation - VebAPI

Speed Check

Check your website speed and get suggestions to improve it.

Speed Check

GET
GET /seo/loadingspeeddata

Parameters

website
Required query
string

enter website url

X-API-KEY
Required header
string

Your Vebapi API Key

Example Request


curl -X GET "https://vebapi.com/api/seo/loadingspeeddata?website=codeconia.com" \
  -H "X-API-KEY: YOUR_API_KEY"\
  -H "Content-Type: application/json"

Response

{
    "data": {
        "url": "http://codeconia.com/",
        "content_type": null,
        "http_code": 301,
        "header_size": 532,
        "request_size": 52,
        "filetime": -1,
        "ssl_verify_result": 0,
        "redirect_count": 0,
        "total_time": 0.048798,
        "namelookup_time": 0.020789,
        "connect_time": 0.02602,
        "pretransfer_time": 0.0261,
        "size_upload": 0,
        "size_download": 0,
        "speed_download": 0,
        "speed_upload": 0,
        "download_content_length": -1,
        "upload_content_length": -1,
        "starttransfer_time": 0.048727,
        "redirect_time": 0,
        "redirect_url": "https://codeconia.com/",
        "primary_ip": "104.21.76.120",
        "certinfo": [],
        "primary_port": 80,
        "local_ip": "207.180.198.252",
        "local_port": 60932,
        "http_version": 2,
        "protocol": 1,
        "ssl_verifyresult": 0,
        "scheme": "HTTP",
        "appconnect_time_us": 0,
        "connect_time_us": 26020,
        "namelookup_time_us": 20789,
        "pretransfer_time_us": 26100,
        "redirect_time_us": 0,
        "starttransfer_time_us": 48727,
        "total_time_us": 48798
    },
    "speed": {
        "url": "https://codeconia.com/",
        "loadingExperience": null,
        "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/137.0.7151.119 Safari/537.36",
        "timing": 48,
        "score": 86,
        "warning": "- The page may not be loading as expected because your test URL (http://codeconia.com/) was redirected to https://codeconia.com/. Try testing the second URL directly."
    },
    "audit": [
        {
            "title": "Total Blocking Time",
            "description": "Sum of all time periods between FCP and Time to Interactive, when task length exceeded 50ms, expressed in milliseconds. [Learn more about the Total Blocking Time metric](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-total-blocking-time/).",
            "score": 100,
            "displayValue": "0\u00a0ms"
        },
        {
            "title": "Speed Index",
            "description": "Speed Index shows how quickly the contents of a page are visibly populated. [Learn more about the Speed Index metric](https://developer.chrome.com/docs/lighthouse/performance/speed-index/).",
            "score": 68,
            "displayValue": "1.9\u00a0s"
        },
        {
            "title": "Largest Contentful Paint",
            "description": "Largest Contentful Paint marks the time at which the largest text or image is painted. [Learn more about the Largest Contentful Paint metric](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-largest-contentful-paint/)",
            "score": 59,
            "displayValue": "2.1\u00a0s"
        },
        {
            "title": "Cumulative Layout Shift",
            "description": "Cumulative Layout Shift measures the movement of visible elements within the viewport. [Learn more about the Cumulative Layout Shift metric](https://web.dev/articles/cls).",
            "score": 100,
            "displayValue": "0.013"
        },
        {
            "title": "Time to Interactive",
            "description": "Time to Interactive is the amount of time it takes for the page to become fully interactive. [Learn more about the Time to Interactive metric](https://developer.chrome.com/docs/lighthouse/performance/interactive/).",
            "score": 94,
            "displayValue": "2.1\u00a0s"
        },
        {
            "title": "Optimize viewport for mobile",
            "description": "Tap interactions may be [delayed by up to 300\u00a0ms](https://developer.chrome.com/blog/300ms-tap-delay-gone-away/) if the viewport is not optimized for mobile.",
            "score": 100,
            "displayValue": null
        },
        {
            "title": "LCP request discovery",
            "description": "Optimize LCP by making the LCP image [discoverable](https://web.dev/articles/optimize-lcp#1_eliminate_resource_load_delay) from the HTML immediately, and [avoiding lazy-loading](https://web.dev/articles/lcp-lazy-loading)",
            "score": 0,
            "displayValue": null
        },
        {
            "title": "Optimize DOM size",
            "description": "A large DOM can increase the duration of style calculations and layout reflows, impacting page responsiveness. A large DOM will also increase memory usage. [Learn how to avoid an excessive DOM size](https://developer.chrome.com/docs/lighthouse/performance/dom-size/).",
            "score": 100,
            "displayValue": null
        },
        {
            "title": "Max Potential First Input Delay",
            "description": "The maximum potential First Input Delay that your users could experience is the duration of the longest task. [Learn more about the Maximum Potential First Input Delay metric](https://developer.chrome.com/docs/lighthouse/performance/lighthouse-max-potential-fid/).",
            "score": 100,
            "displayValue": "40\u00a0ms"
        },
        {
            "title": "First Contentful Paint",
            "description": "First Contentful Paint marks the time at which the first text or image is painted. [Learn more about the First Contentful Paint metric](https://developer.chrome.com/docs/lighthouse/performance/first-contentful-paint/).",
            "score": 96,
            "displayValue": "0.8\u00a0s"
        },
        {
            "title": "Forced reflow",
            "description": "A forced reflow occurs when JavaScript queries geometric properties (such as offsetWidth) after styles have been invalidated by a change to the DOM state. This can result in poor performance. Learn more about [forced reflows](https://developers.google.com/web/fundamentals/performance/rendering/avoid-large-complex-layouts-and-layout-thrashing#avoid-forced-synchronous-layouts) and possible mitigations.",
            "score": 100,
            "displayValue": null
        },
        {
            "title": "Network dependency tree",
            "description": "[Avoid chaining critical requests](https://developer.chrome.com/docs/lighthouse/performance/critical-request-chains) by reducing the length of chains, reducing the download size of resources, or deferring the download of unnecessary resources to improve page load.",
            "score": 0,
            "displayValue": null
        }
    ]
}

🚀 Website Speed Check API – VebAPI

Get detailed insights into your website’s loading speed, HTTP response data, and performance metrics with improvement suggestions.


📝 Description

The Speed Check API evaluates a webpage's loading time and technical performance. It returns low-level timing data, Lighthouse-style metrics (like LCP, FCP, TTI), and optimization tips. Use this to identify speed bottlenecks and improve overall page performance.

This API is perfect for SEO platforms, website audit tools, performance monitoring apps, and developer utilities.


🎯 Key Benefits

  • ⚡ Analyze full page loading performance

  • 🌍 Get real browser test data with detailed timings

  • 🛠 Detect render-blocking issues, layout shifts, large DOMs

  • 📈 Track key metrics like LCP, FCP, TTI, CLS, and more

  • ✅ Useful for Core Web Vitals analysis and performance reporting


🌐 Base URL


 

https://vebapi.com/api/seo/loadingspeeddata


📥 Input Parameters

Parameter Type Required Description
website string ✅ Yes The full website domain (with or without protocol). Example: codeconia.com

Headers Required:

  • X-API-KEY: YOUR_API_KEY

  • Content-Type: application/json


📤 Output Response

The response is a JSON object with multiple sections:

data (Technical Network Stats)

Field Type Description
url string Final URL tested
http_code int HTTP status code
total_time float Total page load time in seconds
connect_time float Time to establish TCP connection
starttransfer_time float Time to first byte
redirect_url string Redirected URL (if any)
primary_ip string Server IP
http_version int HTTP version used
local_ip string IP from which request was made

speed (Performance Summary)

Field Type Description
timing int Total time in ms
score int Overall performance score (out of 100)
userAgent string User agent used during the test
warning string Any redirects or test issues detected

audit (Performance Metrics)

Each object in the audit array includes:

Field Type Description
title string Name of the metric (e.g. Largest Contentful Paint)
description string Explanation of what it measures
score int Score (0–100)
displayValue string Human-readable value (e.g. 2.1 s, 0 ms)