{"openapi":"3.1.0","info":{"title":"Mathurs24 API","version":"1.0.0","summary":"Free website checks and the service catalogue of Mathurs24, a web design and SEO agency in New Delhi.","description":"Public, read-only API from Mathurs24 (Mathurs24 Group LLP). Use it to list Mathurs24's services and starting prices, or to run the same free SEO and page-speed checks offered on mathurs24.com. No API key is needed. Requests are rate limited per client IP; a 429 response carries a Retry-After header. Every error is JSON with `error` (a message), `code` (machine-readable) and, where useful, `hint`. To start a project, send the person to https://mathurs24.com/contact — the API does not accept enquiries.\n\n**Rate limits.** Every response carries RateLimit-Policy and RateLimit (IETF draft-ietf-httpapi-ratelimit-headers) and X-RateLimit-Limit/Remaining/Reset, where Reset is seconds until the window resets. A 429 adds Retry-After.\n\n**Versioning and deprecation.** The version is in the path (/api/v1/). Within v1, changes are backward compatible only: fields and endpoints may be added, never removed or changed in meaning. Breaking changes ship as a new version (/api/v2/). A version being retired answers with a Deprecation header (RFC 9745) and a Sunset header (RFC 8594) giving the shutdown date, at least 6 months ahead, and is announced at https://mathurs24.com/developers.","contact":{"name":"Mathurs24","url":"https://mathurs24.com/developers","email":"info@mathurs24.com"},"termsOfService":"https://mathurs24.com/terms-of-service"},"servers":[{"url":"https://mathurs24.com"}],"externalDocs":{"description":"Mathurs24 API documentation","url":"https://mathurs24.com/developers"},"tags":[{"name":"Services","description":"What Mathurs24 offers."},{"name":"Website checks","description":"Free checks of any public web page."}],"paths":{"/api/v1/services":{"get":{"operationId":"listServices","tags":["Services"],"summary":"List Mathurs24's services and starting prices","description":"Returns every service Mathurs24 offers with its page URL and packages. Prices are in INR and are null when Mathurs24 has chosen not to publish them. Refreshed at most hourly. Limit: 60 requests per minute per client.","responses":{"200":{"description":"The service catalogue.","headers":{"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceCatalogue"}}}},"429":{"description":"Too many requests from this client. Wait for Retry-After seconds.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/seo-check":{"post":{"operationId":"checkSeo","tags":["Website checks"],"summary":"Run a 9-point SEO check on a web page","description":"Fetches the page and scores its title, meta description, H1, HTTPS, mobile viewport, canonical tag, image alt text, Open Graph tags and mobile page speed (Google PageSpeed Insights). Score is 0–100. Takes up to about 25 seconds. Limit: 10 requests per hour per client.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string","maxLength":2048,"description":"A public web page. \"https://\" is added when missing. Private and internal addresses are refused.","examples":["https://example.com"]}}}}}},"responses":{"200":{"description":"The SEO report.","headers":{"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SeoReport"}}}},"400":{"description":"The body is not valid, or the URL is not a public web page (codes: invalid_request, invalid_url).","headers":{"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests from this client. Wait for Retry-After seconds.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/api/v1/speed-test":{"post":{"operationId":"runSpeedTest","tags":["Website checks"],"summary":"Measure a web page's speed and Core Web Vitals","description":"Runs Google PageSpeed Insights on the page and returns the performance score (0–100), Core Web Vitals and the biggest improvement opportunities. Takes up to about 25 seconds. Limit: 10 requests per hour per client.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":false,"required":["url"],"properties":{"url":{"type":"string","maxLength":2048,"description":"A public web page. \"https://\" is added when missing. Private and internal addresses are refused.","examples":["https://example.com"]},"strategy":{"type":"string","enum":["mobile","desktop"],"default":"mobile","description":"Which device to simulate."}}}}}},"responses":{"200":{"description":"The speed report.","headers":{"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SpeedReport"}}}},"400":{"description":"The body is not valid, or the URL is not a public web page (codes: invalid_request, invalid_url).","headers":{"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"Too many requests from this client. Wait for Retry-After seconds.","headers":{"Retry-After":{"$ref":"#/components/headers/Retry-After"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"502":{"description":"Google PageSpeed Insights failed or timed out (codes: upstream_error, upstream_quota, upstream_timeout).","headers":{"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"},"RateLimit":{"$ref":"#/components/headers/RateLimit"},"X-RateLimit-Limit":{"$ref":"#/components/headers/X-RateLimit-Limit"},"X-RateLimit-Remaining":{"$ref":"#/components/headers/X-RateLimit-Remaining"},"X-RateLimit-Reset":{"$ref":"#/components/headers/X-RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"headers":{"RateLimit-Policy":{"description":"The limit that applies, e.g. `\"seo-check\";q=10;w=3600` (10 requests per 3600 s).","schema":{"type":"string"}},"RateLimit":{"description":"What is left of it, e.g. `\"seo-check\";r=7;t=1800` (7 requests left, resets in 1800 s).","schema":{"type":"string"}},"X-RateLimit-Limit":{"description":"Requests allowed in the current window.","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"Seconds until the window resets.","schema":{"type":"integer"}},"Retry-After":{"description":"Seconds to wait before retrying.","schema":{"type":"integer"}}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"What went wrong, for people."},"code":{"type":"string","description":"What went wrong, for programs.","examples":["invalid_request","invalid_url","rate_limited","not_found","upstream_error"]},"hint":{"type":"string","description":"How to fix or retry, when there is something to do."}}},"ServiceCatalogue":{"type":"object","required":["currency","pricesShown","pricingPage","contact","services"],"properties":{"currency":{"type":"string","const":"INR"},"pricesShown":{"type":"boolean","description":"False when Mathurs24 has hidden all prices."},"pricingPage":{"type":"string","format":"uri"},"contact":{"type":"object","required":["url","email","whatsapp"],"properties":{"url":{"type":"string","format":"uri"},"email":{"type":"string","format":"email"},"whatsapp":{"type":"string","format":"uri"}}},"services":{"type":"array","items":{"$ref":"#/components/schemas/Service"}}}},"Service":{"type":"object","required":["slug","name","url","plans"],"properties":{"slug":{"type":"string","examples":["web-design"]},"name":{"type":"string","examples":["Web Design & Development"]},"url":{"type":"string","format":"uri"},"plans":{"type":"array","items":{"$ref":"#/components/schemas/Plan"}}}},"Plan":{"type":"object","required":["name","description","price","period","features"],"properties":{"name":{"type":"string","examples":["Starter"]},"description":{"type":["string","null"]},"price":{"type":["string","null"],"description":"Display price, e.g. \"₹9,999\"; null when hidden."},"period":{"type":["string","null"],"description":"e.g. \"one-time\" or \"/month\"; null when hidden."},"features":{"type":"array","items":{"type":"string"}}}},"SeoCheck":{"type":"object","required":["id","label","category","status","detail","value"],"properties":{"id":{"type":"string","enum":["title","meta","h1","ssl","viewport","canonical","images","og","speed"]},"label":{"type":"string"},"category":{"type":"string","enum":["On-Page","Technical","Content","Social","Performance"]},"status":{"type":"string","enum":["pass","warn","fail"]},"detail":{"type":"string"},"value":{"type":["string","null"]}}},"SeoReport":{"type":"object","required":["score","checks","passed","warned","failed","speedScore","fetchError"],"properties":{"score":{"type":"integer","minimum":0,"maximum":100},"checks":{"type":"array","items":{"$ref":"#/components/schemas/SeoCheck"}},"passed":{"type":"integer"},"warned":{"type":"integer"},"failed":{"type":"integer"},"speedScore":{"type":"integer","description":"Mobile PageSpeed score 0–100, or -1 when unavailable."},"fetchError":{"type":"boolean","description":"True when the page itself could not be fetched."}}},"Metric":{"type":"object","required":["display","numeric"],"properties":{"display":{"type":"string","description":"Human-readable value, e.g. \"1.8 s\"; \"—\" when unavailable."},"numeric":{"type":"integer","description":"Value in milliseconds (CLS: unitless × 1), or -1 when unavailable."}}},"SpeedReport":{"type":"object","required":["score","strategy","metrics","opportunities","diagnostics","unavailable"],"properties":{"score":{"type":"integer","description":"Performance score 0–100, or -100 when Google returned none."},"strategy":{"type":"string","enum":["mobile","desktop"]},"metrics":{"type":"object","required":["fcp","lcp","tbt","cls","si","tti","ttfb"],"properties":{"fcp":{"$ref":"#/components/schemas/Metric"},"lcp":{"$ref":"#/components/schemas/Metric"},"tbt":{"$ref":"#/components/schemas/Metric"},"cls":{"$ref":"#/components/schemas/Metric"},"si":{"$ref":"#/components/schemas/Metric"},"tti":{"$ref":"#/components/schemas/Metric"},"ttfb":{"$ref":"#/components/schemas/Metric"}}},"opportunities":{"type":"array","maxItems":8,"items":{"type":"object","required":["id","title","description","savings","savingsMs"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"savings":{"type":"string"},"savingsMs":{"type":"number"}}}},"diagnostics":{"type":"array","maxItems":6,"items":{"type":"object","required":["id","title","display"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"display":{"type":"string"}}}},"unavailable":{"type":"boolean"}}}}}}