{"uid":"cap_eo3qhDjBIrVtUDgPiDG5I","slug":"coco-html-table-counter-6aa3f710","name":"CoCo HTML Table Counter","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/html-tables?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["table_count"],"properties":{"table_count":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"table_count":1},"exampleNote":"Illustrative response subset; not a live observation."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IRUyhK7UeZxkLCzBSxnm4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Counts the number of HTML tables present in a target page or response, returning the total table count as a JSON number.","exampleAgentPrompt":"Can you check how many HTML tables are on that page and return the count for me?","exampleUseCases":[{"title":"Audit webpage table structure","prompt":"I need to know how many HTML tables are on the page I just scraped — can you count them and tell me the total?"},{"title":"Validate HTML output has tables","prompt":"After generating my report HTML, can you verify it actually contains the expected tables by counting how many table elements are present?"},{"title":"Detect tabular data on research page","prompt":"I'm pulling data from a research site — can you tell me how many tables are embedded in the HTML so I know whether to parse them?"}],"resultDescription":"A JSON object containing a single field `table_count` (number), representing the total count of HTML table elements found in the parsed content.","failureModes":["No query parameters provided — endpoint may return a default or error response","HTML content with no tables returns table_count of 0","Malformed or non-HTML input may produce unexpected count results","Rate limiting or payment failure (x402) results in 402 Payment Required response"],"whenToPreferThis":"Choose this endpoint when you need a quick, cheap ($0.001 USDC) programmatic count of HTML table elements — ideal for lightweight document structure analysis, validation pipelines, or pre-processing steps before deeper HTML parsing. Not suitable if you need the actual table content, only the count.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:12.634Z","isFirstParty":false,"canonicalSlug":"coco-html-table-counter-6aa3f710"}