{"uid":"cap_BzA2Cs2c81NkannVuqf0q","slug":"extract-title-as-json-988cee9a","name":"extract-title-as-json","description":"Extract the page's title as json: fetches the URL, pulls every title element and returns them as a JSON array, with a count. Structured, one-element-type extraction for agents and pipelines; no browser needed. $0.01 per page.","url":"https://page.intel.rallylive.ca/page/title/json?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_3grnPdYeuUe70R9hDTckQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches a web page and returns all title elements as a structured JSON array with a count","exampleAgentPrompt":"Can you fetch the page title from https://example.com and give me the result as a JSON array?","exampleUseCases":[{"title":"Validate page title for SEO audit","prompt":"Go grab the title from https://shop.acmecorp.com/products and return it as JSON so I can check whether it matches our expected SEO title."},{"title":"Pipeline metadata enrichment for URLs","prompt":"I have a list of URLs I'm processing in my data pipeline — start with https://techcrunch.com and pull back the page title as structured JSON so I can store it in our database."},{"title":"Competitive research page snapshot","prompt":"Fetch the page title of https://www.competitor.com as JSON — I want to see exactly what they're calling that landing page right now."}],"resultDescription":"A JSON object containing an array of all title elements found on the fetched page, plus a count of how many were found. Typically a single-element array for standard web pages, but handles edge cases with multiple title tags.","failureModes":["URL is unreachable or returns non-200 status — endpoint may return an error or empty array","Page has no title element — returns empty array with count of 0","Malformed or inaccessible URL input — request fails with error response","Paywalled or bot-blocked pages may return unexpected content","Network timeout if the target page loads slowly"],"whenToPreferThis":"Choose this endpoint when you need a clean, structured JSON representation of a page's title element(s) without standing up a browser or full scraper. Ideal for agent pipelines, metadata enrichment workflows, and SEO auditing tasks where downstream systems consume JSON directly. Prefer this over text or CSV variants when your pipeline expects JSON. Use it over a full-page scraper when you only need the title and want minimal cost and latency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:57:04.013Z","isFirstParty":false,"canonicalSlug":"extract-title-as-json-988cee9a"}