{"uid":"cap_OBEHhiwg6nfOpBhQpIM1M","slug":"globalrules-legal-ages-lookup-656fce08","name":"GlobalRules Legal Ages Lookup","description":"One specific fact for one country: VAT/GST rate, public holidays by country, visa requirements for travelers, tipping customs, power plug type, minimum wage, corporate tax, digital nomad visa, customs duty-free allowance and more. 138 countries, 55 fields, verified sources. Example: /api/v1/country/JP/vat","url":"https://globalrules-api.onrender.com/api/v1/country/US/legal_ages","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","properties":{"country":{"type":"string"},"updated":{"type":"string"}}}}}}},"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_yP9zDp2UMerod9myAl6Y2","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":"Returns the legal age thresholds (e.g. drinking, driving, voting, smoking) for a specified country","exampleAgentPrompt":"What are the legal ages in the United States — drinking, driving, voting, and smoking — according to GlobalRules?","exampleUseCases":[{"title":"Pre-travel legal age check","prompt":"Before my trip to Japan, can you look up all the legal ages there — drinking, driving, voting — so I know what rules apply?"},{"title":"Compliance check for age-restricted app","prompt":"We're launching our alcohol delivery app in Germany — what are the legal drinking and purchasing ages there?"},{"title":"Parental travel advisory research","prompt":"My 17-year-old is traveling to Canada alone — what are the legal ages there for things like drinking and driving?"}],"resultDescription":"A JSON object containing the country code, the specific legal ages data for the requested country (such as drinking age, driving age, voting age, smoking age), and a timestamp indicating when the data was last verified/updated.","failureModes":["Unsupported country code returns 404 or empty result","Country not among the 106 supported nations returns an error","Stale data if country recently changed laws and update cycle hasn't refreshed","Payment failure (x402) if USDC balance is insufficient","Rate limiting if too many calls made in succession"],"whenToPreferThis":"Choose this endpoint when you need a fast, single-field lookup of legal age thresholds for a specific country. It is ideal for travel apps, compliance checks, age-restricted product launches, or parental advisory tools. Prefer this over a general country data API when you specifically need verified legal ages rather than broader country metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:49:36.818Z","isFirstParty":false}