Operations 987
Showing the first 250 of 987. The full set is in the contract, and via get_provider_operations.
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
POST
/api/v1/x402/image
Generate an image from a text prompt · Delx Commerce cheap image generation API for agents at $0.01 USDC.
#
Ask an LLM
“Can an agent generate a product visual or ad creative from a prompt without an API key?”
“Which image models can I pick for the standard $0.01 image generation tier?”
Tell an agent
Generate an image of {prompt}.
Create a {aspect_ratio} banner image showing {prompt} using the {model} model.
POST
/api/v1/x402/image-budget
Generate a low-cost draft image · Delx Commerce budget image generation API for $0.005 USDC (FLUX Schnell entry…
#
Ask an LLM
“Is there a half-cent image option for quick concept drafts?”
“What is the cheapest way to get a rough thumbnail from a prompt with FLUX Schnell?”
Tell an agent
Make a budget draft image of {prompt}.
Generate a cheap {aspect_ratio} concept sketch of {prompt} on the $0.005 tier.
POST
/api/v1/x402/remove-background
Remove the background from an image · Remove an image background for $0.002 USDC.
#
Ask an LLM
“How do I cut out the background of a product photo and get a transparent PNG?”
“What image formats and sizes can I send for background removal?”
Tell an agent
Remove the background from this image {image_base64} and return a transparent PNG.
Make the backdrop of {image_base64} transparent.
POST
/api/v1/x402/transcribe-audio
Transcribe a short audio clip to text · Transcribe one clipped WAV to text for $0.02 USDC.
#
Ask an LLM
“Can I get a transcript of a voice note under a minute long?”
“What audio format and length limit does the speech-to-text endpoint accept?”
Tell an agent
Transcribe this WAV recording {audio_base64}.
Turn the meeting snippet {audio_base64} into written text.
POST
/api/v1/x402/caption-image
Write a caption or alt text for an image · Caption one still image for $0.005 USDC.
#
Ask an LLM
“Can an agent write one-sentence alt text for a picture?”
“Is there a cheap way to get a listing description from a product photo?”
Tell an agent
Write alt text for the image {image_base64}.
Caption this photo {image_base64} in one sentence.
POST
/api/v1/x402/colorize-photo
Colorize a black-and-white photo · Colorize one grayscale photo for $0.01 USDC.
#
Ask an LLM
“Can I add color to an old grayscale photograph?”
“Does photo colorization accept images with transparency?”
Tell an agent
Colorize the black-and-white photo {image_base64}.
Produce a color version of this grayscale still {image_base64}.
POST
/api/v1/x402/upscale-image-hq
Upscale an image to higher resolution · Quality-upscale one still to at most 4 MP for $0.01 USDC.
#
Ask an LLM
“How can I enlarge a small image to up to 4 megapixels with good quality?”
“What is the maximum output size for the high-quality image upscaler?”
Tell an agent
Upscale the image {image_base64} with the quality enlarger.
Enlarge this low-resolution still {image_base64} to a sharper 4 MP version.
POST
/api/v1/x402/replace-background
Replace an image background with a solid fill · Replace an image background with a studio or solid fill for $0.003 USDC.
#
Ask an LLM
“Can I put a product shot on a studio gray backdrop?”
“Which hex colors can I use as a replacement background fill?”
Tell an agent
Swap the background of {image_base64} for studio gray.
Replace the backdrop in {image_base64} with the solid color {fill}.
POST
/api/v1/x402/image-transform
Resize or convert an image format · Image resize and conversion API for agents at $0.001 USDC.
#
Ask an LLM
“How do I resize an image and convert it to WebP without an image CDN?”
“What quality setting applies when converting a picture to JPEG?”
Tell an agent
Convert {image_base64} to {output_format}.
Shrink the image {image_base64} so its longest side is {max_dimension} pixels at quality {quality}.
Ask an LLM
“Can I make a QR code for a ticket or onboarding link without a QR library?”
“Does the QR generator output SVG as well as PNG, and can I set error correction?”
Tell an agent
Create a QR code for {data}.
Generate an {format} QR code encoding {data} with {error_correction} error correction and a border of {border}.
POST
/api/v1/x402/speech-hd
Generate expressive voiceover speech · Generate high-fidelity expressive speech for $0.08 USDC.
#
Ask an LLM
“Can I get an expressive voiceover in Portuguese or Spanish from a short script?”
“How long can the text be for high-fidelity speech with emotion and pitch control?”
Tell an agent
Read {text} aloud as a high-fidelity voiceover.
Voice {text} in {language} using voice {voice} with a {emotion} tone.
POST
/api/v1/x402/narrated-post
Create a narrated still-image video post · Create one narrated still-image MP4 for $0.02 USDC: a bounded FLUX Schnell…
#
Ask an LLM
“Can an agent produce a short MP4 with a generated picture and a voiceover in one call?”
“What goes into a narrated social post video?”
Tell an agent
Make a narrated MP4 with an image of {image_prompt} and the voiceover {narration}.
Build a {aspect_ratio} announcement video showing {image_prompt} narrated by voice {voice}: {narration}.
POST
/api/v1/x402/image-prompt-lint
Lint an image prompt before paying · Lint a text-to-image prompt for length and basic policy tokens before paying.
#
Ask an LLM
“Can I check a text-to-image prompt for length and blocked terms before I pay to generate it?”
“What does the image prompt linter flag?”
Tell an agent
Lint the image prompt {prompt}.
Check that the image prompt {prompt} stays under {max_chars} characters.
POST
/api/v1/x402/image-result-contract-check
Validate delivered image metadata · Validate caller-supplied image delivery metadata before accepting an agent…
#
Ask an LLM
“How can I verify an image delivery's URL, hash and MIME type before accepting a purchase?”
“Can I enforce byte and dimension ceilings on an image result without downloading it?”
Tell an agent
Validate the image delivery metadata {result}.
Check that image result {result} is no larger than {max_size_bytes} bytes and {max_width} by {max_height} pixels.
POST
/api/v1/x402/rank-multilingual-texts
Rerank passages against a query · Multilingual RAG reranking API for agents: rank 2-16 passages, tools, routes…
#
Ask an LLM
“Can I rerank search results in several languages against one question for RAG?”
“How many candidate passages can the multilingual reranker score at once?”
Tell an agent
Rank these passages {candidates} by relevance to {query}.
Order the support answers {candidates} by how well they answer {query}.
POST
/api/v1/x402/await
Create a durable wait-until promise · Durable outcome promise for agents: pay $0.01 USDC once, wait for a time or…
#
Ask an LLM
“Can an agent pay once to pause until a time or signed webhook and then resume?”
“What happens when I replay an await request with the same idempotency key?”
Tell an agent
Create an await promise with key {idempotency_key} that fires on {condition} and releases {resume_envelope}.
Hold continuation {resume_envelope} until {condition}, expiring after {ttl_ms} ms, keyed {idempotency_key}.
POST
/api/v1/x402/seeded-random-sample
Draw a reproducible seeded sample · Select a reproducible sample without replacement from a bounded caller-supplied…
#
Ask an LLM
“Can several agents pick the same random subset if they share a seed?”
“Is there a deterministic way to sample items without replacement for retries?”
Tell an agent
Sample {count} items from {items} using seed {seed}.
Reproducibly pick {count} entries out of {items} with seed {seed} so retries match.
POST
/api/v1/x402/demand/rfqs
Post a paid task request for bids · Post a task with a USDC budget and let live x402 services compete for it.
#
Ask an LLM
“Can I post a task with a USDC budget and have x402 services compete for it?”
“What do I need to specify when publishing a request for quotes, like acceptance criteria and deadline?”
Tell an agent
Post an RFQ for {capability_family} work: {public_task}, budget up to {budget_ceiling_usdc} USDC by {deadline}.
Attach input spec {input_contract}, output spec {output_contract} and acceptance criteria {acceptance_criteria} to RFQ key {idempotency_key}.
POST
/api/v1/x402/demand/feed
Browse open buyer requests for quotes · Look up open buyer RFQs for $0.003 USDC.
#
Ask an LLM
“Where can a seller agent find open buyer RFQs with budgets and deadlines?”
“Can I filter live demand to one capability family?”
Tell an agent
Show open buyer RFQs.
List up to {limit} open RFQs for {capability_family}.
POST
/api/v1/x402/page-extract
Extract readable text from a web page · Extract clean title, host, and bounded main text from one public URL for $0.01…
#
Ask an LLM
“Can I pull the clean main text and title from one public URL for summarizing?”
“What is the timeout range when extracting page content?”
Tell an agent
Extract the readable main text of {url}.
Grab the title and body text from {url} with a {timeout} second timeout.
POST
/api/v1/x402/open-graph
Get Open Graph preview metadata for a URL · Open Graph metadata API for agents: extract Open Graph and Twitter card fields…
#
Ask an LLM
“How will a link look when unfurled in a social feed?”
“Can I read a page's Open Graph and Twitter card tags?”
Tell an agent
Fetch the Open Graph tags for {url}.
Show the link preview card fields for {url}.
POST
/api/v1/x402/links-extract
Map the links on a web page · Map internal and external links on a page for crawling, routing, and site…
#
Ask an LLM
“Which internal and external links does a page point to?”
“Can I cap how many links come back when mapping a live page?”
Tell an agent
List the links on {url}.
Map up to {limit} internal and external links from {url}.
POST
/api/v1/x402/sitemap-probe
Check a site's sitemap and crawl hints · Check sitemap and robots hints fast to see how a site exposes crawlable…
#
Ask an LLM
“Does this website publish a sitemap I can crawl?”
“What crawlable structure does a site expose through its sitemap?”
Tell an agent
Probe {url} for sitemaps.
Find the sitemap and robots hints for the site {url}.
POST
/api/v1/x402/robots-inspect
Inspect a domain's robots.txt rules · Robots.txt inspection API for agents at $0.01 USDC.
#
Ask an LLM
“What crawl rules does a domain's robots.txt set before I scrape it?”
“Can I do an SEO preflight on a site's robots file?”
Tell an agent
Fetch and inspect the robots.txt for {url}.
Tell me which paths {url} disallows for crawlers.
POST
/api/v1/x402/dns-lookup
Look up DNS records for a domain · Delx Commerce DNS lookup API for agents at $0.01 USDC.
#
Ask an LLM
“What MX records does a domain have?”
“Can I resolve A, CNAME, TXT or NS records without running a resolver?”
Tell an agent
Look up the DNS records for {domain}.
Get the {record_type} records for {domain}.
POST
/api/v1/x402/email-validate
Validate an email address · Email validation API for agents at $0.01 USDC.
#
Ask an LLM
“Is this email address deliverable before I send outreach?”
“Can I check an address's syntax and domain signals at signup?”
Tell an agent
Validate the email {email}.
Check whether {email} looks like a real deliverable address.
POST
/api/v1/x402/jwt-inspect
Decode the claims in a JWT · Decode JWT claims quickly for auth debugging, routing, and token inspection for…
#
Ask an LLM
“What claims are inside this JSON Web Token?”
“Can I debug an auth token's expiry and issuer by decoding it?”
Tell an agent
Decode the JWT {token}.
Show me the header and payload claims of {token}.
POST
/api/v1/x402/csv-to-json
Convert CSV to JSON rows · CSV to JSON conversion API for agents: convert a bounded CSV payload into JSON…
#
Ask an LLM
“Can I turn a CSV export into JSON rows for a pipeline?”
“Does CSV-to-JSON conversion support semicolon-delimited files?”
Tell an agent
Convert this CSV to JSON: {csv_text}.
Parse {csv_text} into JSON rows using {delimiter} as the delimiter.
POST
/api/v1/x402/json-to-csv
Convert JSON rows to CSV · Convert structured JSON rows into CSV for exports, spreadsheets, and handoff…
#
Ask an LLM
“How do I export JSON records as a CSV for a spreadsheet?”
“Can I pick a custom delimiter when turning JSON into CSV?”
Tell an agent
Export the JSON records {json_text} as CSV.
Turn the JSON rows {json_text} into a {delimiter}-separated file.
POST
/api/v1/x402/tls-inspect
Inspect a host's TLS certificate · TLS certificate inspection API for agents: inspect issuer, subject, SANs, and…
#
Ask an LLM
“When does a site's TLS certificate expire?”
“Who issued the HTTPS certificate for a host and which SANs does it cover?”
Tell an agent
Inspect the TLS certificate for {url}.
Check the certificate issuer and expiry date of {url}.
POST
/api/v1/x402/security-txt-inspect
Find a domain's security.txt contacts · Find security.txt contacts, disclosure policy, and trust links for a domain for…
#
Ask an LLM
“Who do I contact to report a vulnerability on a website?”
“Does this domain publish a security.txt disclosure policy?”
Tell an agent
Read the security.txt for {url}.
Find the vulnerability disclosure contact for {url}.
POST
/api/v1/x402/http-headers-inspect
Inspect a URL's HTTP response headers · HTTP headers inspection API for agents at $0.01 USDC.
#
Ask an LLM
“Which security and cache headers does a URL send back?”
“Can I do a quick hardening audit of a page's response headers?”
Tell an agent
Show the HTTP response headers for {url}.
Audit the security, redirect and server headers returned by {url}.
POST
/api/v1/x402/feed-discover
Discover RSS, Atom or JSON feeds on a site · Find RSS, Atom, and JSON feeds so agents can subscribe instead of scrape for…
#
Ask an LLM
“Does this blog have an RSS or Atom feed I can subscribe to?”
“Can an agent find a site's JSON feed instead of scraping it?”
Tell an agent
Find the feeds published by {url}.
Discover RSS or Atom feed links on {url}.
POST
/api/v1/x402/forms-extract
Extract forms and fields from a page · Extract forms, methods, actions, and fields for browser automation and workflow…
#
Ask an LLM
“What forms, methods and input fields does a page contain for browser automation?”
“Can I plan a workflow by listing a page's form actions?”
Tell an agent
Extract the forms on {url}.
List every form action and field name on the page {url}.
POST
/api/v1/x402/contact-extract
Extract contact details from a page · Extract emails, phones, and social links from a page for outreach, routing, and…
#
Ask an LLM
“Which emails, phone numbers and social links appear on a web page?”
“Can I pull support contacts off a single page for outreach?”
Tell an agent
Extract contact info from {url}.
Find the emails and phone numbers listed on {url}.
POST
/api/v1/x402/rdap-lookup
Look up a domain's registration record · Fetch registrar, status, and registration dates for trust, compliance, and…
#
Ask an LLM
“Who is the registrar for a domain and when was it registered?”
“Can I check a domain's registration status for a compliance review?”
Tell an agent
Run an RDAP lookup on {domain}.
Get the registrar and registration dates for {domain}.
POST
/api/v1/x402/api-health-report
Report an API endpoint's health · Check endpoint status, latency, redirects, content type, and JSON validity for…
#
Ask an LLM
“Is an API endpoint up, how fast does it respond, and does it return valid JSON?”
“Can I check an endpoint's redirects and content type in one fetch?”
Tell an agent
Run an API health report on {url}.
Check the status, latency and JSON validity of the endpoint {url}.
POST
/api/v1/x402/server-probe
Probe an x402 server end to end · Probe an x402 server end-to-end: discovery, status, tools, reliability, and…
#
Ask an LLM
“Can I test an x402 server's discovery, tools, reliability and OpenAPI in one probe?”
“What does a full end-to-end x402 server probe cover?”
Tell an agent
Probe the x402 server at {url}.
Run an end-to-end x402 check of discovery, status and tools on {url}.
POST
/api/v1/x402/resource-summary
Summarize an x402 server's paid resources · Read any server's x402 resources, payment networks, and canonical paths for…
#
Ask an LLM
“Which paid resources and payment networks does an x402 server list?”
“What canonical paths does an x402 origin advertise?”
Tell an agent
Summarize the x402 resources at {url}.
List the payment networks and resource paths offered by {url}.
POST
/api/v1/x402/website-intelligence-report
Build a one-call website intelligence report · One-call website intelligence report and website content extraction API for…
#
Ask an LLM
“Can I get a site's metadata, docs map, pricing hints, contacts and feeds in one report?”
“What does the website intelligence report include?”
Tell an agent
Build a website intelligence report for {url}.
Profile the website {url}: metadata, docs, pricing, contacts, forms and feeds.
POST
/api/v1/x402/domain-trust-report
Build a domain trust and security report · One-call domain trust report and security audit with TLS, headers…
#
Ask an LLM
“Can I trust this domain based on its TLS, headers, DNS and registration?”
“Is there one call that audits a domain's security signals together?”
Tell an agent
Run a domain trust report on {url}.
Audit {url} for TLS, security.txt, RDAP, DNS and uptime trust signals.
POST
/api/v1/x402/openapi-summary
Summarize an OpenAPI document · Turn an OpenAPI document into title, version, path counts, tags, and auth hints…
#
Ask an LLM
“How many paths and tags does an API's OpenAPI spec have?”
“Can I get an OpenAPI document's title, version and auth hints from a URL?”
Tell an agent
Summarize the OpenAPI spec at {url}.
Give me the version, path count and auth scheme of the OpenAPI at {url}.
POST
/api/v1/x402/server-audit
Audit an x402 server's listing readiness · Audit an x402 server for listing readiness, discovery quality, pricing surface…
#
Ask an LLM
“Is my x402 server ready to be listed in a marketplace?”
“What integration gaps does an x402 audit look for in pricing and OpenAPI coverage?”
Tell an agent
Audit the x402 server {url} for listing readiness.
Find discovery, pricing and OpenAPI gaps on {url} before I list or buy from it.
POST
/api/v1/x402/mcp-server-readiness
Check an MCP server's readiness · MCP server readiness API for agents: audit tools/list, schemas, manifests…
#
Ask an LLM
“Is an MCP server ready for clients to connect, with valid tools and schemas?”
“What does the MCP readiness audit check in tools/list and manifests?”
Tell an agent
Check the MCP server readiness of {url}.
Audit the tools, schemas and manifest of the MCP server at {url}.
POST
/api/v1/x402/docs-site-map
Map a documentation site · Map a docs surface with docs links, sitemap signals, robots rules, and feed…
#
Ask an LLM
“What does a product's documentation site cover, and where are its docs links?”
“Can I map a docs surface with its sitemap and feed hints?”
Tell an agent
Map the docs site at {url}.
List the documentation links and sitemap signals for {url}.
POST
/api/v1/x402/pricing-page-extract
Extract plans and pricing from a pricing page · Extract pricing signals like plans, trials, sales CTAs, and conversion routes…
#
Ask an LLM
“What plans and free trials does a company's pricing page offer?”
“Can I pull the sales calls to action off a pricing page?”
Tell an agent
Extract the pricing signals from {url}.
List the plans, trials and contact-sales options on the pricing page {url}.
POST
/api/v1/x402/company-contact-pack
Build a company contact pack · Build a company contact pack from page contacts, forms, socials, registrar, and…
#
Ask an LLM
“How can I gather every contact channel for a company, including registrar and security contacts?”
“Can I assemble a company's forms, socials and emails into one pack?”
Tell an agent
Build a contact pack for the company at {url}.
Collect all contact channels, socials and security contacts for {url}.
POST
/api/v1/x402/api-integration-readiness
Score an API's readiness for agent integration · Score how ready an API is for agent integration using health, OpenAPI, auth…
#
Ask an LLM
“How ready is an API for an agent to integrate with?”
“Does an API's health, OpenAPI and auth surface make it agent-friendly?”
Tell an agent
Score the agent integration readiness of {url}.
Rate how easily an agent could integrate the API at {url}.
POST
/api/v1/x402/login-surface-report
Inspect an app's login and auth surface · Inspect login and auth surface signals such as forms, reset flows, signup…
#
Ask an LLM
“What login, signup and password-reset flows does an app expose?”
“Can I review the authentication surface of a web app?”
Tell an agent
Inspect the login surface of {url}.
Report the sign-in forms, reset flows and signup links on {url}.
POST
/api/v1/x402/content-distribution-report
Report how a site distributes its content · Summarize how a site distributes content across Open Graph, feeds, socials, and…
#
Ask an LLM
“Where does a site distribute its content across feeds, socials and its blog?”
“Can I see a site's content distribution channels in one report?”
Tell an agent
Run a content distribution report on {url}.
Show how {url} syndicates content through Open Graph, feeds and social profiles.
POST
/api/v1/x402/loyalty-reward-quote
Quote loyalty points for a purchase · Calculate loyalty points, reward value, effective rebate, and a ledger-ready…
#
Ask an LLM
“How many loyalty points and what rebate does a purchase earn?”
“Can I get a ledger-ready idempotent credit instruction for reward points?”
Tell an agent
Quote loyalty points for a {purchase_amount} purchase.
Calculate rewards on {purchase_amount} {currency} at {points_per_unit} points per unit with a {tier_multiplier}x tier multiplier.
POST
/api/v1/x402/json-validate
Validate and normalize a JSON payload · JSON validation API for agents: validate, normalize, and pretty-print a bounded…
#
Ask an LLM
“Is this JSON valid, and where is the syntax error if not?”
“Can I validate and normalize a JSON payload in one step?”
Tell an agent
Validate this JSON: {input}.
Check {input} for JSON errors and return it normalized.
POST
/api/v1/x402/token-estimate
Estimate the token count of text · Estimate GPT- and Claude-style token counts for a text payload for $0.001 USDC…
#
Ask an LLM
“How many tokens will this prompt use?”
“Can I estimate token counts for a specific model family before sending text?”
Tell an agent
Estimate the tokens in {text}.
Count roughly how many {model} tokens {text} would take.
POST
/api/v1/x402/uuid
Generate UUIDv4 identifiers · UUID generator API for agents: generate one to ten UUIDv4 identifiers for…
#
Ask an LLM
“Can I get a random UUIDv4 for a correlation id?”
“How many UUIDs can I generate in one call?”
Tell an agent
Generate a UUID.
Give me {count} UUIDv4 values for idempotency keys.
POST
/api/v1/x402/timestamp
Convert a timestamp between formats · Convert Unix, ISO 8601, and human timestamps for $0.001 USDC with one…
#
Ask an LLM
“What date is this Unix epoch timestamp?”
“Can I convert an ISO 8601 time into Unix seconds?”
Tell an agent
Convert the timestamp {input}.
Convert {input} to {to} format.
POST
/api/v1/x402/base64
Encode or decode Base64 · Encode or decode Base64 safely for $0.001 USDC; bounded, deterministic, and…
#
Ask an LLM
“What does this Base64 string decode to?”
“Can I Base64-encode a string without a local library?”
Tell an agent
Base64 {action} the string {input}.
Decode the Base64 value {input} using action {action}.
POST
/api/v1/x402/url-health
Check whether a URL is reachable · Inspect URL reachability, status, latency, and key headers for $0.001 USDC.
#
Ask an LLM
“Is a URL reachable right now, and how slow is it?”
“Can I do a cheap uptime check before paying for a heavier page fetch?”
Tell an agent
Check if {url} is up.
Ping {url} for status code and latency with a {timeout} second limit.
POST
/api/v1/x402/hash
Hash text with SHA-256, SHA-1 or MD5 · SHA-256 hash API for agents: hash text with SHA-256, SHA-1, or MD5 for $0.001…
#
Ask an LLM
“What is the SHA-256 hash of this string?”
“Can I get an MD5 or SHA-1 digest of some text?”
Tell an agent
Hash {input} with SHA-256.
Compute the {algorithm} digest of {input}.
POST
/api/v1/x402/regex
Test a regular expression against text · Test a regular expression and return matches, groups, and counts for $0.001…
#
Ask an LLM
“Does my regex match this text, and what groups does it capture?”
“Can I test a case-insensitive or multiline regular expression?”
Tell an agent
Test the regex {pattern} against {text}.
Run pattern {pattern} with flags {flags} on {text} and show the matches.
POST
/api/v1/x402/cron
Explain a cron schedule and its next runs · Validate and describe a five-field cron schedule for $0.001 USDC, including the…
#
Ask an LLM
“What does this cron expression mean in plain English?”
“When will a five-field cron schedule run next?”
Tell an agent
Describe the cron schedule {expression}.
Validate {expression} and list its next run times.
POST
/api/v1/x402/http-codes
Look up an HTTP status code meaning · Look up HTTP status-code meanings for $0.001 USDC or retrieve the common-code…
#
Ask an LLM
“What does HTTP status 429 mean?”
“Can I get a reference of the common HTTP status codes?”
Tell an agent
Explain HTTP status code {code}.
Show the common HTTP status code reference.
POST
/api/v1/x402/timezone
Look up a timezone's offset and local time · IANA timezone lookup for agents: offset, abbreviation, DST and local time for…
#
Ask an LLM
“What time is it now in Europe/Lisbon and what is its UTC offset?”
“Is daylight saving in effect for an IANA timezone at a given instant?”
Tell an agent
Look up the timezone {timezone}.
Give the offset and DST status of {timezone} at {at}.
POST
/api/v1/x402/unit-convert
Convert between units of measure · Unit conversion API for agents: length, mass, volume, time, data and…
#
Ask an LLM
“How many miles is 42 kilometers?”
“Can I convert up to 100 temperature, mass or data values in one batch?”
Tell an agent
Convert {value} {from_unit} into {to_unit} units.
Run this batch of unit conversions: {conversions}.
POST
/api/v1/x402/business-days
Count business days between two dates · Business-day counter for agents: weekdays or US federal holidays for $0.002…
#
Ask an LLM
“How many working days are between two dates, excluding US federal holidays?”
“Can I count weekdays only in a date range?”
Tell an agent
Count the business days from {start_date} to {end_date}.
Count working days between {start_date} and {end_date} using the {calendar} calendar.
POST
/api/v1/x402/vin-decode
Decode a vehicle identification number · Decode a 17-char VIN via NHTSA vPIC for $0.004 USDC with make/model/year and…
#
Ask an LLM
“What make, model and year is this VIN?”
“Can I decode a 17-character VIN through NHTSA vPIC data?”
Tell an agent
Decode the VIN {vin}.
Tell me the make, model and model year for {vin}.
POST
/api/v1/x402/wmi-decode
Decode a vehicle manufacturer identifier · Decode a 3-char WMI via NHTSA vPIC for $0.003 USDC into manufacturer and…
#
Ask an LLM
“Which manufacturer does a three-character WMI code belong to?”
“What vehicle type does a VIN prefix indicate?”
Tell an agent
Decode the WMI {wmi}.
Identify the manufacturer behind VIN prefix {wmi}.
POST
/api/v1/x402/lei-lookup
Look up a Legal Entity Identifier · Look up a 20-char Legal Entity Identifier via GLEIF for $0.002 USDC with status…
#
Ask an LLM
“Which company does a 20-character LEI belong to?”
“Is a Legal Entity Identifier still active in GLEIF?”
Tell an agent
Look up the LEI {lei}.
Get the legal name and registration status for {lei}.
POST
/api/v1/x402/inflation-calculator
Adjust a dollar amount for inflation · Revalue an amount between years using U.S.
#
Ask an LLM
“What would $100 from 1990 be worth today using CPI?”
“Can I pick the CPI-W series when adjusting for inflation?”
Tell an agent
Adjust {amount} dollars from {from_year} to {to_year} for inflation.
Revalue {amount} from {from_year} into {to_year} dollars using the {series} series.
POST
/api/v1/x402/holidays
List US federal holidays for a year · List observed US federal holidays for a year for $0.002 USDC.
#
Ask an LLM
“Which US federal holidays are observed in a given year?”
“On what date is a federal holiday observed when it falls on a weekend?”
Tell an agent
List the US federal holidays for {year}.
Show observed holidays in {year} for the {calendar} calendar.
POST
/api/v1/x402/slugify
Turn text into a URL-safe slug · Convert text to a URL-safe slug for $0.001 USDC.
#
Ask an LLM
“How do I turn a blog post title into a URL slug?”
“Can I choose the separator and maximum length of a slug?”
Tell an agent
Slugify {text}.
Make a slug from {text} using {separator} as separator, capped at {max_length} characters.
POST
/api/v1/x402/mime-lookup
Look up a MIME type from a filename · Look up a common MIME type from extension/filename for $0.001 USDC.
#
Ask an LLM
“What content type should I use for a file named report.xlsx?”
“Can I get a MIME type from a full filename rather than just the extension?”
Tell an agent
Look up the MIME type for the filename {filename}.
Find the common MIME type for extension {extension} or file name {filename}.
POST
/api/v1/x402/color-convert
Convert a color between hex, RGB and HSL · Convert #hex or rgb() colors to hex/rgb/hsl for $0.001 USDC.
#
Ask an LLM
“What is the RGB value of a hex color?”
“Can I get the HSL equivalent of an rgb() color?”
Tell an agent
Convert the color {color} to hex, RGB and HSL.
Give me the HSL values for {color}.
POST
/api/v1/x402/ip-classify
Classify an IP address as private or public · Classify an IP as private/loopback/global (no geolocation) for $0.001 USDC.
#
Ask an LLM
“Is an IP address private, loopback or publicly routable?”
“Can I tell whether an IPv6 address is global without geolocating it?”
Tell an agent
Classify the IP address {ip}.
Tell me if {ip} is a private, loopback or global address.
POST
/api/v1/x402/cidr-contains
Check whether an IP is inside a CIDR range · Check whether an IP is inside a CIDR network for $0.001 USDC.
#
Ask an LLM
“Does an IP address fall inside a given subnet?”
“Can I check an address against a CIDR block for an allowlist?”
Tell an agent
Check whether {ip} is in {network}.
Confirm the CIDR range {network} contains the address {ip}.
POST
/api/v1/x402/ulid
Generate ULID identifiers · Generate Crockford Base32 ULIDs for $0.001 USDC.
#
Ask an LLM
“Can I generate lexicographically sortable ULIDs in Crockford Base32?”
“How many ULIDs can I request at once?”
Tell an agent
Generate a ULID.
Create {count} ULIDs.
POST
/api/v1/x402/html-strip
Strip HTML tags to plain text · Strip HTML tags to plain text for $0.001 USDC.
#
Ask an LLM
“How do I turn an HTML document into plain text with a length cap?”
“Can I remove all markup from HTML and limit the output length?”
Tell an agent
Convert the HTML {html} to plain text.
Strip tags from {html} and keep at most {max_length} characters.
POST
/api/v1/x402/semver-compare
Compare two semantic versions · Compare two semantic versions for $0.001 USDC.
#
Ask an LLM
“Is version 2.10.0 newer than 2.9.3?”
“Which of two semver strings is higher?”
Tell an agent
Compare versions {a} and {b}.
Tell me whether semver {a} is greater, equal or less than {b}.
POST
/api/v1/x402/word-count
Count words, lines and paragraphs · Count words, characters, lines and paragraphs for $0.001 USDC.
#
Ask an LLM
“How many words and paragraphs are in this essay?”
“Can I get a paragraph count along with the word count?”
Tell an agent
Count the words in {text}.
Give me word, line and paragraph totals for {text}.
POST
/api/v1/x402/markdown-to-text
Convert Markdown to plain text · Strip markdown to plain text for $0.001 USDC.
#
Ask an LLM
“Can I strip Markdown formatting out of a README to get plain text?”
“Is there a length limit option when flattening Markdown?”
Tell an agent
Convert this Markdown to plain text: {markdown}.
Strip the Markdown syntax from {markdown}, keeping up to {max_length} characters.
POST
/api/v1/x402/duration-parse
Parse a human duration like 1h30m · Parse human durations like 1h30m for $0.001 USDC.
#
Ask an LLM
“How many seconds is 1h30m?”
“Can I parse a human-written duration string into a number?”
Tell an agent
Parse the duration {duration}.
Convert {duration} into total seconds.
POST
/api/v1/x402/case-convert
Convert text to snake, kebab or camel case · Turn mixed human or machine text into production-ready snake_case, kebab-case…
#
Ask an LLM
“How do I turn a phrase into snake_case or camelCase?”
“Which naming cases can the case converter produce, like PascalCase or CONSTANT_CASE?”
Tell an agent
Rewrite {text} in {case} naming style.
Rewrite the identifier {text} in kebab-case.
POST
/api/v1/x402/url-join
Join a base URL with a relative path · Join a base URL with a relative path for $0.001 USDC.
#
Ask an LLM
“What is the full URL when I resolve a relative path against a base URL?”
“Can I join a base URL and a ../ path correctly?”
Tell an agent
Join {base} with {path}.
Resolve the relative link {path} against the base URL {base}.
POST
/api/v1/x402/percent-change
Compute the percent change between numbers · Compute absolute and percent change for $0.001 USDC.
#
Ask an LLM
“What is the percentage increase from 80 to 100?”
“Can I get both the absolute and percent change between two values?”
Tell an agent
Compute the percent change from {from} to {to}.
Show the absolute and percent movement going from {from} to {to}.
POST
/api/v1/x402/luhn-check
Validate a number with the Luhn checksum · Luhn checksum validation for digit strings for $0.001 USDC.
#
Ask an LLM
“Does a card-style number pass the Luhn check?”
“Can I validate the check digit of a digit string?”
Tell an agent
Run a Luhn check on {number}.
Verify the Luhn check digit of {number}.
POST
/api/v1/x402/isbn-check
Validate an ISBN-10 or ISBN-13 · ISBN-10/ISBN-13 checksum validation for $0.001 USDC.
#
Ask an LLM
“Is this ISBN valid?”
“Can I check the checksum on an ISBN-13 book number?”
Tell an agent
Validate the ISBN {isbn}.
Check whether {isbn} is a well-formed ISBN-10 or ISBN-13.
POST
/api/v1/x402/levenshtein
Compute the Levenshtein edit distance · Levenshtein edit distance and similarity for $0.001 USDC.
#
Ask an LLM
“How many single-character edits turn one word into another?”
“What is the Levenshtein edit distance between two strings?”
Tell an agent
Compute the edit distance between {a} and {b}.
Count the insertions, deletions and substitutions needed to go from {a} to {b}.
POST
/api/v1/x402/similarity
Score how similar two strings are · Normalized string similarity (Levenshtein) for $0.001 USDC.
#
Ask an LLM
“Can I get a normalized 0-to-1 similarity score for two names?”
“How alike are two strings as a single similarity ratio?”
Tell an agent
Score the similarity of {a} and {b}.
Give me a normalized similarity ratio between {a} and {b} for fuzzy matching.
POST
/api/v1/x402/normalize-whitespace
Collapse and normalize whitespace · Normalize whitespace in text for $0.001 USDC.
#
Ask an LLM
“Can I collapse repeated spaces and tabs in messy text?”
“How do I clean up irregular whitespace in scraped content?”
Tell an agent
Normalize the whitespace in {text}.
Collapse extra spaces and line breaks in {text}.
POST
/api/v1/x402/extract-urls
Extract URLs from text · Extract HTTP/HTTPS URLs from text for $0.001 USDC.
#
Ask an LLM
“Which links are mentioned in a block of text?”
“Can I pull every http and https URL out of a message?”
Tell an agent
Extract the URLs from {text}.
List every web link found in {text}.
POST
/api/v1/x402/extract-emails
Extract email addresses from text · Extract email-like addresses from text for $0.001 USDC.
#
Ask an LLM
“What email addresses appear in this text?”
“Can I pull email-like addresses out of a pasted document?”
Tell an agent
Extract the email addresses from {text}.
Find every email address mentioned in {text}.
POST
/api/v1/x402/url-encode
URL-encode or decode text · URL-encode or decode text for $0.001 USDC.
#
Ask an LLM
“What is the URL-encoded form of a string with spaces and ampersands?”
“Can one call both URL-encode and URL-decode text?”
Tell an agent
URL-encode or decode {text}.
Run the general URL encoder on {text}.
Ask an LLM
“Can I alphabetize a list of lines?”
“Is there a quick way to sort a newline-separated list?”
Tell an agent
Sort the lines of {text}.
Alphabetize this list, one item per line: {text}.
POST
/api/v1/x402/random-int
Generate a secure random integer · Generate a secure random integer in a caller-supplied range for $0.001 USDC.
#
Ask an LLM
“Can I draw a cryptographically secure random number in a range?”
“How many random integers can I request between a min and max?”
Tell an agent
Pick a random integer between {min} and {max}.
Generate {count} secure random numbers from {min} to {max}.
POST
/api/v1/x402/rot13
Apply ROT13 to text · Apply reversible ROT13 to Latin letters while preserving numbers, punctuation…
#
Ask an LLM
“What does this ROT13-encoded text say?”
“Does ROT13 keep numbers, punctuation and letter case intact?”
Tell an agent
Apply ROT13 to {text}.
Decode the ROT13 string {text}.
POST
/api/v1/x402/text-truncate
Truncate text with an ellipsis · Truncate text with ellipsis for $0.001 USDC.
#
Ask an LLM
“How do I shorten text to a maximum length with an ellipsis?”
“Can I trim a description to fit a character limit?”
Tell an agent
Truncate {text} to {max_length} characters.
Cut {text} down to {max_length} characters with an ellipsis.
POST
/api/v1/x402/reading-time
Estimate reading time for text · Estimate reading time from word count for $0.001 USDC.
#
Ask an LLM
“How long will this article take to read?”
“Can I show an estimated reading time for a blog post?”
Tell an agent
Estimate the reading time of {text}.
Tell me how many minutes it takes to read {text}.
POST
/api/v1/x402/random-choice
Pick random items from a list · Pick random items without replacement for $0.001 USDC.
#
Ask an LLM
“Can I pick a random winner from a list of names?”
“Can I draw several items at random without repeats and without setting a seed?”
Tell an agent
Pick a random item from {items}.
Choose {count} random entries from {items} with no repeats.
POST
/api/v1/x402/pdf-text
Extract text from a digital PDF · PDF text extraction API for agents: extract bounded UTF-8 text from one…
#
Ask an LLM
“Can I pull the text layer out of a PDF without storing the document?”
“How large a PDF can I send for text extraction?”
Tell an agent
Extract the text from this PDF {pdf_base64}.
Get up to {max_chars} characters of embedded text from the PDF {pdf_base64}.
POST
/api/v1/x402/image-ocr
OCR printed text from an image · Extract English machine-printed text from one caller-supplied PNG, JPEG, or…
#
Ask an LLM
“Can I read printed English text off a screenshot or photo?”
“Does the image OCR handle handwriting?”
Tell an agent
Run OCR on the image {image_base64}.
Read the printed text in {image_base64} using page segmentation mode {psm}.
POST
/api/v1/x402/pdf-ocr
OCR a scanned PDF · Scanned PDF OCR API for agents: OCR up to 10 pages of one caller-supplied…
#
Ask an LLM
“How do I get text out of a scanned PDF that has no text layer?”
“How many pages of a scanned document can be OCRed at once?”
Tell an agent
OCR the scanned PDF {pdf_base64}.
OCR the first {max_pages} pages of the scanned PDF {pdf_base64}.
POST
/api/v1/x402/news-search
Search recent news headlines · News search API with publisher links for agents: search recent GDELT Project…
#
Ask an LLM
“What recent news articles mention a topic, with links to the publishers?”
“Can I sort news search results by date and cap how many come back?”
Tell an agent
Search recent news for {query}.
Find up to {max_records} news headlines about {query} from the last {timespan}, sorted by {sort}.
POST
/api/v1/x402/crypto-news
Search recent crypto news headlines · Crypto news API for agents: search recent attributed crypto headlines (Bitcoin…
#
Ask an LLM
“What are the latest Bitcoin and Ethereum headlines?”
“Can I narrow crypto headlines to a DeFi or Web3 topic?”
Tell an agent
Show the latest crypto headlines.
Find crypto news about {query} over the past {timespan}.
POST
/api/v1/x402/open-knowledge-search
Search Wikipedia for a topic · Search bounded English Wikipedia metadata for $0.001 USDC through the public…
#
Ask an LLM
“Which Wikipedia pages match a topic, with short snippets?”
“Can an agent look up an encyclopedia entry link without general web search?”
Tell an agent
Search Wikipedia for {query}.
Return the top {max_records} Wikipedia pages about {query}.
POST
/api/v1/x402/open-entities-search
Search Wikidata entities · Search bounded Wikidata entity metadata for $0.001 USDC.
#
Ask an LLM
“What is the Wikidata ID for a company or place?”
“Can I get stable entity IDs, labels and descriptions for a public concept?”
Tell an agent
Look up the Wikidata entity for {query}.
Find up to {max_records} Wikidata entities matching {query}.
POST
/api/v1/x402/weather-forecast
Get a US weather forecast by coordinates · US weather forecast API for agents: return a normalized National Weather…
#
Ask an LLM
“What is the weather forecast for a US latitude and longitude?”
“Does the National Weather Service forecast cover locations outside the United States?”
Tell an agent
Get the forecast for {latitude}, {longitude}.
Show the next {periods} forecast periods at latitude {latitude} longitude {longitude}.
POST
/api/v1/x402/geocode-us
Geocode a US address to coordinates · Address geocoding API for agents: geocode one U.S., Puerto Rico, or U.S.
#
Ask an LLM
“What are the latitude and longitude of a US street address?”
“Can I geocode a Puerto Rico address with the Census Geocoder?”
Tell an agent
Geocode the address {address}.
Find coordinates for {address} using Census benchmark {benchmark}.
POST
/api/v1/x402/fx-rates
Get daily ECB currency exchange rates · Delx Commerce currency exchange rates API for agents at $0.001 USDC.
#
Ask an LLM
“What is today's euro to dollar reference rate?”
“Can I get exchange rates from an ECB publication up to 31 days ago?”
Tell an agent
Get exchange rates with {base_currency} as the base.
Show {base_currency} rates against {quotes} as published on {date}.
Ask an LLM
“How do I make a product name or headline title-cased?”
“Can I capitalize every major word in a UI label?”
Tell an agent
Title-case {text}.
Format the headline {text} in Title Case.
Ask an LLM
“Can I turn shouty or noisy text into a normal readable sentence?”
“What is the sentence-case version of an all-caps line?”
Tell an agent
Sentence-case {text}.
Rewrite {text} with only the first letter capitalized.
Ask an LLM
“What does a string look like reversed?”
“Can I reverse text for a palindrome check?”
Tell an agent
Reverse the string {text}.
Spell {text} backwards.
POST
/api/v1/x402/char-count
Count characters and bytes in text · Count characters, words, and lines.
#
Ask an LLM
“How many characters and bytes is this message for an SMS limit?”
“Can I get character and byte counts before truncating a prompt?”
Tell an agent
Count the characters in {text}.
Give me character, byte and line counts for {text}.
POST
/api/v1/x402/strip-accents
Remove accents and diacritics from text · Strip diacritics from text.
#
Ask an LLM
“How do I turn names with accents into plain ASCII?”
“Can I strip diacritics to build a filename or search key?”
Tell an agent
Strip the accents from {text}.
Make {text} ASCII-safe by removing diacritics.
Ask an LLM
“Can I remove all punctuation before tokenizing text?”
“What does a sentence look like with commas and periods removed?”
Tell an agent
Remove the punctuation from {text}.
Clean {text} of punctuation marks for keyword matching.
POST
/api/v1/x402/extract-numbers
Extract numbers from free text · Extract numbers from free text.
#
Ask an LLM
“Which prices, quantities or IDs appear as numbers in this text?”
“Can I pull all the numbers out of messy scraped content?”
Tell an agent
Extract the numbers from {text}.
List every numeric value found in {text}, in order.
Ask an LLM
“Can I pad a field to a fixed width for aligned logs or receipts?”
“What fill character and width get applied when padding a string?”
Tell an agent
Pad the string {text} to a fixed width.
Left- or right-pad {text} for a fixed-width column.
Ask an LLM
“Can I repeat a separator string to build a divider line?”
“Is there a quick way to repeat text for a test payload?”
Tell an agent
Repeat the string {text}.
Build a repeated fixture from {text}.
Ask an LLM
“Can I hard-wrap an email draft to a fixed number of columns?”
“How do I wrap long lines for terminal output?”
Tell an agent
Hard-wrap {text} to columns.
Wrap the long lines in {text} for a fixed-width report.
Ask an LLM
“What are the initials for a full name, for an avatar?”
“Can I get short initials for a contact card?”
Tell an agent
Get the initials for {text}.
Turn the name {text} into avatar initials.
POST
/api/v1/x402/mask-string
Mask the middle of a sensitive string · Mask sensitive middle characters.
#
Ask an LLM
“How can I hide most of an account number before logging it?”
“Can I partially mask a token so only the ends show?”
Tell an agent
Mask {text}.
Hide the middle characters of {text} for the audit log.
Ask an LLM
“Can I scrub email addresses out of logs before publishing them?”
“How do I replace emails in a support dump with a placeholder?”
Tell an agent
Redact the emails in {text}.
Replace every email address in {text} with a safe placeholder.
Ask an LLM
“What distinct words appear in my notes, with how often each occurs?”
“Can I build a keyword inventory from a transcript?”
Tell an agent
List the unique words in {text}.
Inventory every distinct word and its count in {text}.
Ask an LLM
“What are the most common words in an article, for tags?”
“Which terms show up most often in a page?”
Tell an agent
Show the top word frequencies in {text}.
Rank the most-used terms in {text} for search hints.
Ask an LLM
“Can I Caesar-shift text for a puzzle or CTF challenge?”
“Is the Caesar cipher tool safe for protecting secrets?”
Tell an agent
Caesar-shift {text}.
Encode {text} with a Caesar cipher for a puzzle.
Ask an LLM
“What is the Soundex code for a surname?”
“Can I use phonetic codes to find similar-sounding names for de-duplication?”
Tell an agent
Compute the Soundex code for {text}.
Give the phonetic Soundex key of the surname {text}.
Ask an LLM
“What is the CRC32 checksum of a config string?”
“Can I get a quick non-cryptographic fingerprint of a prompt?”
Tell an agent
Compute the CRC32 of {text}.
Fingerprint {text} with a hex CRC32 checksum.
Ask an LLM
“Can I Base32-encode a TOTP seed?”
“What does a Base32 string decode to?”
Tell an agent
Base32-encode {text}.
Convert {text} to or from Base32.
Ask an LLM
“Can I get a short URL-safe random ID for a job or draft?”
“What length is a NanoID-style public ID by default?”
Tell an agent
Generate a NanoID.
Give me a short URL-safe public id for a new draft.
Ask an LLM
“Can I get roughly time-ordered IDs for an event stream without a database sequence?”
“Is the time-sortable ID a full KSUID implementation?”
Tell an agent
Generate a KSUID-style time-sortable id.
Create a time-ordered id for this log event.
Ask an LLM
“Can I turn a docs URL's path into a clean route slug?”
“Does making a slug from a URL fetch the page?”
Tell an agent
Make a slug from the URL {url}.
Derive a cache key slug from the path of {url}.
Ask an LLM
“What is the hostname part of this link, for an allowlist?”
“Can I get a URL's domain without fetching it?”
Tell an agent
Get the domain from {url}.
Extract just the host name out of {url}.
Ask an LLM
“Which company domain does an email address belong to?”
“Can I group users by the domain of their email?”
Tell an agent
Get the domain of {email}.
Split out the part after the @ in {email}.
Ask an LLM
“How do I strip formatting from a phone number before saving it to a CRM?”
“Can I reduce a phone number to digits only for de-duplication?”
Tell an agent
Normalize the phone number {phone}.
Remove dashes, spaces and brackets from {phone}.
Ask an LLM
“What is the greatest common divisor of two numbers?”
“Can I simplify a ratio by finding its GCD?”
Tell an agent
Find the GCD of {a} and {b}.
Compute the greatest common divisor of {a} and {b}.
Ask an LLM
“What is the least common multiple of two cadences?”
“When do two repeating schedules line up again?”
Tell an agent
Find the LCM of {a} and {b}.
Compute the least common multiple of {a} and {b}.
Ask an LLM
“Is 97 a prime number?”
“Can I test whether a bounded integer is prime?”
Tell an agent
Check if {n} is prime.
Tell me whether {n} has any divisors other than 1 and itself.
Ask an LLM
“What are the prime factors of 360?”
“Can I get the prime factorization of a number?”
Tell an agent
Factor {n} into primes.
List the prime factors of {n}.
Ask an LLM
“What is 12 factorial?”
“What is the largest n the factorial tool accepts?”
Tell an agent
Compute {n} factorial.
Calculate {n}! for a counting problem.
Ask an LLM
“What is the 50th Fibonacci number?”
“How high can n go when requesting a Fibonacci number?”
Tell an agent
Get Fibonacci number {n}.
Return F({n}) from the Fibonacci sequence.
Ask an LLM
“What is the average of a list of scores?”
“Can I get the arithmetic mean of sensor readings?”
Tell an agent
Average the numbers {values}.
Compute the arithmetic mean of {values}.
Ask an LLM
“What is the median of these values, ignoring outliers?”
“Can I find the middle value of a numeric list?”
Tell an agent
Find the median of {values}.
Give me the middle value of {values}.
Ask an LLM
“How spread out are these samples?”
“Can I get population and sample standard deviation of a list?”
Tell an agent
Compute the standard deviation of {values}.
Measure the spread of {values} as a standard deviation.
Ask an LLM
“What is the p95 of a list of latencies?”
“Can I get a p50 summary of response times without a stats library?”
Tell an agent
Compute the percentile of {values}.
Get the p95 latency from {values}.
Ask an LLM
“What number is MCMXCIV?”
“Can I parse Roman numeral chapter labels into integers?”
Tell an agent
Convert the Roman numeral {roman} to an integer.
Tell me the value of {roman}.
Ask an LLM
“How is 2026 written in Roman numerals?”
“Can I label outline sections with Roman numerals?”
Tell an agent
Write {n} in Roman numerals.
Convert the integer {n} into a Roman numeral label.
POST
/api/v1/x402/bytes-format
Format a byte count as a readable size · Human-readable byte sizes.
#
Ask an LLM
“How do I show 1536 bytes as a human-readable size like 1.5 KB?”
“Can I display a file size in KB, MB or GB?”
Tell an agent
Format {bytes} bytes as a readable size.
Show the byte count {bytes} as KB, MB or GB.
Ask an LLM
“How many bytes is 1.5MB?”
“Can I turn a typed size like 2 GiB into an integer byte budget?”
Tell an agent
Parse {text} into bytes.
Convert the size string {text} to an integer number of bytes.
Ask an LLM
“What date is an SLA deadline after adding time to a start date?”
“Can I shift an ISO timestamp forward without a timezone library?”
Tell an agent
Add time to the date {date}.
Shift {date} forward to compute a reminder deadline.
Ask an LLM
“How long has a ticket been open between two timestamps?”
“What is the difference between two ISO dates in days and hours?”
Tell an agent
Compute the time between {start} and {end}.
Measure the days separating {start} and {end} as a structured delta.
Ask an LLM
“Can I format an ISO date into a friendlier display string for a report?”
“What does an ISO timestamp look like as a readable date?”
Tell an agent
Format the date {date} for display.
Turn the ISO date {date} into a readable string for a message.
Ask an LLM
“What is the current Unix timestamp in seconds and milliseconds?”
“Can I check server UTC time to detect clock skew?”
Tell an agent
Get the current Unix time.
Return now in unix seconds, millis and ISO UTC.
Ask an LLM
“Does a given date fall on a Saturday or Sunday?”
“Can I check for weekends when routing work to quiet hours?”
Tell an agent
Check if {date} is a weekend.
Tell me whether {date} lands on Saturday or Sunday.
Ask an LLM
“Is 2100 a leap year?”
“Does a given Gregorian year have February 29?”
Tell an agent
Check if {year} is a leap year.
Tell me whether {year} has a leap day.
Ask an LLM
“What ISO week number is a given date in?”
“Which week-of-year bucket should a weekly report use?”
Tell an agent
Get the ISO week for {date}.
Tell me the ISO week number and year of {date}.
Ask an LLM
“Which quarter of the year is a date in?”
“Can I bucket dates into Q1 through Q4 for finance reporting?”
Tell an agent
Get the quarter for {date}.
Tell me whether {date} is in Q1, Q2, Q3 or Q4.
Ask an LLM
“When is the next Monday after a given date?”
“Can I find the next Friday for a ship window?”
Tell an agent
Find the next weekday occurrence after {date}.
Schedule the next standup day following {date}.
Ask an LLM
“How old is someone born on a given date?”
“Can I check age eligibility from a birthdate?”
Tell an agent
Compute the age for birthdate {birthdate}.
Tell me how many whole years old someone born {birthdate} is.
Ask an LLM
“Can I indent a minified JSON config so a person can read it?”
“What happens if I pretty-print invalid JSON?”
Tell an agent
Pretty-print {json_text}.
Indent the JSON {json_text} for a readable debug dump.
Ask an LLM
“How do I shrink a JSON payload by removing whitespace?”
“Does minifying JSON change any values?”
Tell an agent
Minify {json_text}.
Compact the JSON {json_text} before signing it.
Ask an LLM
“What top-level fields does a JSON object have?”
“Can I discover the shape of an object without full schema inference?”
Tell an agent
List the top-level keys of {json_text}.
Show which fields sit at the root of {json_text}.
Ask an LLM
“Is this JSON an object or an array at the root?”
“Can I get a quick size signal for JSON before heavier processing?”
Tell an agent
Tell me the root type of {json_text}.
Preflight {json_text} for its root type and size.
Ask an LLM
“How many rows are in a CSV upload?”
“Does the CSV row count include the header line?”
Tell an agent
Count the rows in {csv_text}.
Estimate the import size of the CSV {csv_text} by row count.
Ask an LLM
“What columns does a CSV file have?”
“Can I map CSV columns before an import by reading the first row?”
Tell an agent
Get the headers of {csv_text}.
List the column names in the first row of {csv_text}.
Ask an LLM
“What are the host, path, query and fragment of this URL?”
“Can I break down a link into its parts without making a request?”
Tell an agent
Parse the URL {url}.
Break {url} into host, path, query and fragment.
Ask an LLM
“What is the encodeURIComponent output for a search term?”
“How do I safely encode a value for one path segment?”
Tell an agent
Encode {text} as a URI component.
Make {text} safe for a path segment with encodeURIComponent rules.
Ask an LLM
“Is a form value like yes, 1 or on truthy?”
“Can I normalize messy true/false flags into a boolean?”
Tell an agent
Parse {value} as a boolean.
Tell me whether the flag {value} means true or false.
Ask an LLM
“Can I break a long array into batches to stay under a payload limit?”
“How do I page a list of items into smaller groups?”
Tell an agent
Chunk the array {items}.
Split {items} into batches for separate tool calls.
POST
/api/v1/x402/robots-allow-path
Check a path against robots.txt rules I hold · Check path allow/disallow against caller-held robots.txt rules.
#
Ask an LLM
“Given a robots.txt I already have, is a path allowed for my crawler?”
“Can I test a specific user agent against robots rules without fetching the site?”
Tell an agent
Check whether {path} is allowed by these robots rules: {robots_txt}.
Test {path} for user agent {user_agent} against the robots.txt text {robots_txt}.
POST
/api/v1/x402/page-links-summary
Extract links from HTML I already have · Extract href links from caller-held HTML without network access.
#
Ask an LLM
“Can I list the href links in an HTML snippet without any network call?”
“How do I cap the number of links pulled from saved HTML?”
Tell an agent
Extract the href links from this HTML: {html}.
List up to {limit} anchors from the saved markup {html}.
POST
/api/v1/x402/page-meta-summary
Extract title and meta tags from HTML I hold · Extract title and common meta tags from caller-held HTML.
#
Ask an LLM
“What title and meta description are in a saved HTML document?”
“Can I read meta tags from markup without fetching a URL?”
Tell an agent
Summarize the title and meta tags in {html}.
Pull the meta description out of the HTML {html}.
POST
/api/v1/x402/query-param-pick
Pick named query parameters from a URL · Pick named query parameters from a URL or raw query string.
#
Ask an LLM
“What is the value of the utm_source parameter in a link?”
“Can I extract only certain query parameters from a raw query string?”
Tell an agent
Pick the query parameters {keys} from {url}.
Show all query parameters in {url}.
POST
/api/v1/x402/header-map-normalize
Normalize an HTTP header map · Lowercase HTTP header keys and drop hop-by-hop headers.
#
Ask an LLM
“How do I lowercase header names and drop hop-by-hop headers?”
“Can I clean up a header map before forwarding a request?”
Tell an agent
Normalize the headers {headers}.
Lowercase the keys in {headers} and remove hop-by-hop entries.
POST
/api/v1/x402/etag-match
Compare two ETag validators · Compare ETag validators including weak tags and If-None-Match lists.
#
Ask an LLM
“Does an ETag match an If-None-Match list, including weak tags?”
“Can I check whether a cached response is still valid by comparing ETags?”
Tell an agent
Compare ETag {etag} with {other}.
Check whether {etag} satisfies the If-None-Match value {other}.
POST
/api/v1/x402/url-origin
Get the origin of a URL · Extract scheme://host[:port] origin from a URL without network access.
#
Ask an LLM
“What is the scheme, host and port origin of a URL for CORS?”
“Can I get a link's origin string without a network call?”
Tell an agent
Get the origin of {url}.
Return scheme://host:port for {url}.
POST
/api/v1/x402/path-join
Join path segments safely · Join URL or filesystem-like path segments without traversal escape.
#
Ask an LLM
“Can I join path segments without allowing ../ traversal escapes?”
“How do I combine several URL path parts into one path?”
Tell an agent
Join the path segments {parts}.
Combine {parts} into a single path with no traversal escape.
POST
/api/v1/x402/basename
Get the file name from a path · Extract basename from a URL or path-like string.
#
Ask an LLM
“What is the file name at the end of a path or URL?”
“Can I get the basename of a download link?”
Tell an agent
Get the basename of {path}.
Return the last segment of {path}.
POST
/api/v1/x402/path-ext
Get the file extension from a path · Extract file extension from a path or URL path segment.
#
Ask an LLM
“What file extension does a path or URL end in?”
“Can I detect a file's extension from its download path?”
Tell an agent
Get the extension of {path}.
Tell me the file type suffix in {path}.
POST
/api/v1/x402/strip-html-lite
Strip tags from a short HTML snippet · Strip HTML tags from caller-held markup.
#
Ask an LLM
“Can I quickly strip tags from a small HTML snippet and get its length?”
“Is there a lightweight tag stripper for markup fragments an agent holds?”
Tell an agent
Strip the tags from the snippet {text}.
Give me plain text and its length from the markup fragment {text}.
POST
/api/v1/x402/html-escape
Escape text for safe HTML embedding · HTML-escape text for safe embedding.
#
Ask an LLM
“How do I escape user text before inserting it into HTML to avoid XSS?”
“Which characters get converted to HTML entities?”
Tell an agent
HTML-escape {text}.
Convert angle brackets and quotes in {text} to HTML entities.
Ask an LLM
“What does text full of & and < entities read as?”
“Can I turn HTML entities back into normal characters?”
Tell an agent
HTML-unescape {text}.
Decode the HTML entities in {text}.
POST
/api/v1/x402/xml-escape
Escape text for safe XML embedding · XML-escape text for safe embedding.
#
Ask an LLM
“How do I escape a string before placing it inside an XML element?”
“Can I make agent text safe for an XML fragment?”
Tell an agent
XML-escape {text}.
Escape {text} so it can go inside an XML fragment.
POST
/api/v1/x402/ensure-trailing-slash
Ensure a path ends with a slash · Ensure a path ends with /.
#
Ask an LLM
“Can I normalize directory-style URLs so they always end in a slash?”
“How do I add a trailing slash to a path only if it is missing?”
Tell an agent
Ensure {path} ends with a slash.
Add a trailing / to {path} if it lacks one.
POST
/api/v1/x402/is-url-shape
Check that a string is a valid http(s) URL · Validate http(s) URL shape.
#
Ask an LLM
“Is this string a well-formed http or https URL?”
“Can I preflight a link's shape before fetching it?”
Tell an agent
Check whether {url} is a valid URL.
Validate the shape of {url} before I fetch it.
POST
/api/v1/x402/domain-label
Split a hostname into DNS labels · Split host into DNS labels and apex guess.
#
Ask an LLM
“What is the apex domain of a subdomain like api.eu.example.com?”
“Can I split a hostname into its DNS labels?”
Tell an agent
Split the host {host} into labels.
Guess the registrable apex domain of {host}.
Ask an LLM
“Is this a valid IPv4 literal, and what are its four octets?”
“Can I split a dotted IPv4 address into numbers?”
Tell an agent
Parse the IPv4 address {ip} into octets.
Validate {ip} as IPv4 and list its octets.
POST
/api/v1/x402/mime-from-ext
Guess a MIME type from a bare extension · Guess MIME type from file extension.
#
Ask an LLM
“Which Content-Type goes with a .webp extension?”
“Can I set a Content-Type hint for an upload from its bare extension alone?”
Tell an agent
Guess the MIME type for extension {ext}.
Tell me the Content-Type header to use for a .{ext} upload.
POST
/api/v1/x402/ext-from-mime
Guess a file extension from a MIME type · Guess extension from MIME type.
#
Ask an LLM
“What file extension matches the MIME type application/pdf?”
“Can I name a generated file based on its content type?”
Tell an agent
Suggest a file extension for the content type {mime}.
Pick a file extension for content of type {mime}.
POST
/api/v1/x402/url-encode-safe
Percent-encode a query value · Percent-encode text for query components.
#
Ask an LLM
“How do I percent-encode a value for a query string parameter?”
“Can I safely encode search text before adding it after the ? in a URL?”
Tell an agent
Percent-encode {text} for a query string.
Make {text} safe to use as a query parameter value.
Ask an LLM
“What does a percent-encoded string like %20 and %3D decode to?”
“Can I reverse query-string encoding from a URL I hold?”
Tell an agent
Percent-decode {text}.
Decode the query-encoded value {text} back to plain text.
POST
/api/v1/x402/url-parts
Split a URL into scheme, netloc and path · Split a URL into scheme/netloc/path/query/fragment.
#
Ask an LLM
“Can I split a URL into scheme, netloc, path, query and fragment with an ok flag?”
“Does a URL I hold split cleanly into scheme and netloc?”
Tell an agent
Split {url} into scheme, netloc, path, query and fragment.
Return the scheme and netloc components of {url} with an ok flag.
POST
/api/v1/x402/dns-record-diff
Diff two DNS record snapshots · Compare two bounded caller-supplied DNS record snapshots and return canonical…
#
Ask an LLM
“Which DNS records were added or removed between two snapshots?”
“Can I detect an MX change by comparing earlier and later lookups?”
Tell an agent
Compare the DNS snapshots {before} and {after}.
Show added, removed and unchanged records going from {before} to {after}.
POST
/api/v1/x402/live-probe
Check that an x402 endpoint is live before paying · Verify any third-party x402 endpoint is alive and correctly configured before…
#
Ask an LLM
“Is a third-party x402 endpoint alive and configured correctly before I pay it?”
“Does the x402 liveness preflight send any payment?”
Tell an agent
Live-probe the x402 endpoint {url}.
Check {url} returns a valid 402 payment contract and tag the receipt as {capability}.
POST
/api/v1/x402/verified-directory
Find verified live x402 endpoints by capability · Find live x402 endpoints worth paying, by capability: returns only endpoints…
#
Ask an LLM
“Which live-probed x402 endpoints offer a capability I need, with observed prices?”
“Can I find x402 services with a liveness score before choosing one to pay?”
Tell an agent
Find verified x402 endpoints for {capability}.
List live-probed paid services offering {capability} with their liveness scores.
POST
/api/v1/x402/lifecycle-reconcile
Reconcile an x402 purchase against delivery · Verify an x402 purchase actually settled and delivered what you paid for…
#
Ask an LLM
“Did my x402 purchase actually settle and deliver what I paid for?”
“What metadata do I need to reconcile a payment with its delivery receipt?”
Tell an agent
Reconcile the payment {payment_response} against requirement {payment_requirement}, receipt {delivery_receipt} and settlement {settlement_ref}.
Verify settlement {settlement_ref} matches delivery {delivery_receipt} for requirement {payment_requirement} and response {payment_response}.
POST
/api/v1/x402/cache-control-parse
Parse a Cache-Control header · Cache Control Parse: parses Cache-Control directives into typed policy fields…
#
Ask an LLM
“What do the directives in a Cache-Control header mean, like max-age and no-store?”
“Can I turn a Cache-Control value into typed policy fields?”
Tell an agent
Parse the Cache-Control header {header}.
Break {header} into typed caching policy fields.
POST
/api/v1/x402/cache-control-directive-diff
Diff two Cache-Control headers · Cache Control Directive Diff: finds added, removed, and changed Cache-Control…
#
Ask an LLM
“Which Cache-Control directives changed between two versions of a response?”
“Can I see added and removed caching directives after a deploy?”
Tell an agent
Diff the Cache-Control values {before} and {after}.
Show which caching directives were added, removed or changed from {before} to {after}.
POST
/api/v1/x402/cache-freshness-calculate
Calculate remaining cache freshness · Cache Freshness Calculate: calculates remaining freshness from response timing…
#
Ask an LLM
“How many seconds of freshness does a cached response have left?”
“Is a cached response still fresh given its Date, Age and max-age?”
Tell an agent
Calculate freshness for a response dated {date_epoch} with age {age_seconds}, max-age {max_age_seconds}, now {now_epoch}.
Tell me the seconds left before a cache entry with max-age {max_age_seconds} and age {age_seconds} goes stale at {now_epoch}, dated {date_epoch}.
POST
/api/v1/x402/age-header-validate
Validate an HTTP Age header value · Age Header Validate: checks whether an HTTP Age value fits a declared freshness…
#
Ask an LLM
“Does a response's Age header exceed its declared freshness lifetime?”
“Can I check whether an Age value fits within max-age?”
Tell an agent
Validate Age {age} against max-age {max_age_seconds}.
Check whether an Age header of {age} is within a {max_age_seconds} second lifetime.
POST
/api/v1/x402/expires-header-validate
Validate an Expires header lifetime · Expires Header Validate: compares Date and Expires timestamps for an explicit…
#
Ask an LLM
“What explicit cache lifetime do a response's Date and Expires headers imply?”
“Is an Expires timestamp earlier than the response Date?”
Tell an agent
Validate Expires {expires_epoch} against Date {date_epoch}.
Compute the cache lifetime between Date {date_epoch} and Expires {expires_epoch}.
POST
/api/v1/x402/etag-parse
Parse an ETag into weak or strong form · Etag Parse: separates weak and strong entity-tag semantics from an ETag value…
#
Ask an LLM
“Is this ETag value a weak validator or a strong one?”
“Can I split an ETag header into its opaque tag and the W/ weak prefix?”
Tell an agent
Parse the ETag {etag} and tell me whether it is weak or strong.
Break down entity tag {etag} into its weak flag and opaque value.
POST
/api/v1/x402/etag-comparison-mode
Compare two ETags using strong or weak rules · Etag Comparison Mode: evaluates strong or weak comparison between two entity…
#
Ask an LLM
“Do these two entity tags match under weak comparison rules?”
“What's the difference in outcome when I compare two ETags strongly versus weakly?”
Tell an agent
Compare ETag {left} against {right} using weak comparison set to {weak}.
Check whether entity tags {left} and {right} match, with weak mode {weak}.
POST
/api/v1/x402/last-modified-compare
Order two Last-Modified timestamps · Last Modified Compare: orders two Last-Modified instants and reports their…
#
Ask an LLM
“Which of two Last-Modified times is newer, and by how many seconds?”
“Can I get the delta between two Last-Modified epochs before revalidating a cache?”
Tell an agent
Compare Last-Modified epoch {before_epoch} with {after_epoch} and report the gap.
Tell me whether {after_epoch} is later than {before_epoch} as Last-Modified instants.
POST
/api/v1/x402/vary-header-normalize
Normalize and dedupe a Vary header · Vary Header Normalize: normalizes and deduplicates Vary header field names…
#
Ask an LLM
“How can I clean up a Vary header that lists the same field twice in different casing?”
“Does a normalized Vary list keep the wildcard asterisk?”
Tell an agent
Normalize the Vary header {header} and drop duplicate field names.
Deduplicate the field names in Vary value {header}.
POST
/api/v1/x402/allow-header-normalize
Normalize the methods in an Allow header · Allow Header Normalize: normalizes and sorts methods advertised by an Allow…
#
Ask an LLM
“Can I get a sorted, uppercased list of methods from an Allow header?”
“Which HTTP methods does this Allow response header actually advertise?”
Tell an agent
Normalize and sort the methods in Allow header {header}.
List the distinct methods advertised by Allow value {header}.
POST
/api/v1/x402/accept-header-rank
Rank media types against an Accept header · Accept Header Rank: ranks offered media types against weighted Accept ranges…
#
Ask an LLM
“Which of my offered media types best satisfies the client's Accept header q-values?”
“Can I rank JSON versus XML against a weighted Accept header?”
Tell an agent
Rank the media types {offers} against Accept header {header}.
Pick the best content type from {offers} for the Accept value {header}.
POST
/api/v1/x402/accept-language-rank
Rank languages against Accept-Language · Accept Language Rank: ranks offered languages against weighted Accept-Language…
#
Ask an LLM
“Which of the languages I support should I serve for this Accept-Language header?”
“Can I order my available locales by a client's Accept-Language weights?”
Tell an agent
Rank the languages {offers} against Accept-Language {header}.
Choose the preferred language from {offers} given Accept-Language value {header}.
POST
/api/v1/x402/accept-encoding-rank
Rank content codings against Accept-Encoding · Accept Encoding Rank: ranks supported content codings against Accept-Encoding…
#
Ask an LLM
“Should I respond with gzip, br or identity given this Accept-Encoding header?”
“Can I rank my supported compression codings by the client's Accept-Encoding weights?”
Tell an agent
Rank the codings {offers} against Accept-Encoding {header}.
Pick the best compression from {offers} for Accept-Encoding value {header}.
POST
/api/v1/x402/content-type-parse
Split a Content-Type into type and parameters · Content Type Parse: splits a Content-Type value into media type and parameters…
#
Ask an LLM
“How do I pull the charset and boundary parameters out of a Content-Type header?”
“What media type and parameters does this Content-Type value contain?”
Tell an agent
Parse Content-Type {header} into its media type and parameters.
Extract the charset from the Content-Type value {header}.
POST
/api/v1/x402/content-type-match
Check a Content-Type against an expected media range · Content Type Match: checks a concrete Content-Type against an expected media…
#
Ask an LLM
“Does the response Content-Type satisfy the media range I expected, like application/*?”
“Can I confirm a server returned JSON before I parse the body?”
Tell an agent
Check whether Content-Type {actual} matches the expected range {expected}.
Verify the actual media type {actual} satisfies {expected}.
POST
/api/v1/x402/content-length-check
Compare declared Content-Length with bytes received · Content Length Check: compares declared Content-Length with an observed byte…
#
Ask an LLM
“Did I receive fewer bytes than the Content-Length header promised?”
“Can I detect a truncated download by comparing Content-Length to the observed size?”
Tell an agent
Compare declared Content-Length {declared} with the observed {observed} bytes.
Flag a mismatch between Content-Length {declared} and {observed} bytes actually read.
POST
/api/v1/x402/content-disposition-parse
Parse a Content-Disposition header · Content Disposition Parse: extracts disposition type, filename, and safe…
#
Ask an LLM
“What filename does this Content-Disposition attachment header suggest?”
“Is this Content-Disposition inline or an attachment?”
Tell an agent
Parse Content-Disposition {header} and give me the disposition type and filename.
Extract the safe filename from the Content-Disposition value {header}.
POST
/api/v1/x402/retry-after-parse
Turn a Retry-After value into a delay · Retry After Parse: normalizes Retry-After seconds or an HTTP-date epoch into a…
#
Ask an LLM
“How long should I wait when a 429 response sends Retry-After as an HTTP date?”
“Can Retry-After in either seconds or date form be converted into a delay?”
Tell an agent
Convert Retry-After {value} into a wait time relative to epoch {now_epoch}.
Work out the retry delay from Retry-After value {value} at time {now_epoch}.
POST
/api/v1/x402/rate-limit-window-check
Check remaining rate-limit quota before calling · Rate Limit Window Check: checks remaining quota against reset timing and…
#
Ask an LLM
“Do I have enough rate-limit quota left for my next batch before the window resets?”
“When remaining calls are low, how many seconds until the rate limit window resets?”
Tell an agent
Check whether {requested} calls fit in the {remaining} remaining before reset {reset_epoch} at {now_epoch}.
Tell me if I can make {requested} requests with {remaining} left and a reset at {reset_epoch}, now {now_epoch}.
POST
/api/v1/x402/link-header-parse
Parse Link header targets and relations · Link Header Parse: parses bounded Link header targets and relation parameters…
#
Ask an LLM
“How do I find the rel=next pagination URL in a Link response header?”
“Which targets and rel values does this Link header carry?”
Tell an agent
Parse the Link header {header} into targets and relation types.
Extract the next and last page links from Link value {header}.
POST
/api/v1/x402/forwarded-header-parse
Parse a standardized Forwarded header · Forwarded Header Parse: parses bounded standardized Forwarded header elements…
#
Ask an LLM
“What for, by, proto and host values are in this RFC 7239 Forwarded header?”
“Can I break a Forwarded header with several proxy hops into elements?”
Tell an agent
Parse the Forwarded header {header} into its for, by, host and proto pairs.
Break down Forwarded value {header} element by element.
POST
/api/v1/x402/x-forwarded-for-chain
Normalize an X-Forwarded-For proxy chain · X Forwarded For Chain: normalizes a proxy chain without deciding whether an…
#
Ask an LLM
“Can I get a clean list of addresses from an X-Forwarded-For header?”
“Does normalizing X-Forwarded-For tell me which client IP is trusted?”
Tell an agent
Normalize the X-Forwarded-For chain {header} into an ordered address list.
Split X-Forwarded-For value {header} into individual hops.
POST
/api/v1/x402/origin-header-normalize
Normalize an Origin header value · Origin Header Normalize: normalizes scheme, host, and effective port from an…
#
Ask an LLM
“What is the scheme, host and effective port of this Origin header?”
“Can I canonicalize an Origin so default ports compare equally?”
Tell an agent
Normalize the Origin {origin} into scheme, host and port.
Canonicalize origin value {origin} with its effective port.
POST
/api/v1/x402/cors-origin-check
Check a request origin against allowed CORS origins · CORS Origin Check: compares a request origin with explicit allowed origins…
#
Ask an LLM
“Is this browser origin on my list of allowed CORS origins?”
“Can a credentialed CORS request from this origin be allowed by my allowlist?”
Tell an agent
Check whether origin {origin} is allowed by {allowed} with credentials set to {credentials}.
Test origin {origin} against the allowed origins {allowed}, credentials {credentials}.
POST
/api/v1/x402/cors-preflight-check
Evaluate a CORS preflight request against policy · CORS Preflight Check: checks requested method and headers against a CORS…
#
Ask an LLM
“Would a CORS preflight for PUT with custom headers pass my policy?”
“Which requested headers in an OPTIONS preflight are not in my allowed list?”
Tell an agent
Check a preflight for method {method} with headers {request_headers} against methods {allowed_methods} and headers {allowed_headers}.
Evaluate whether preflight method {method} and headers {request_headers} pass allowed methods {allowed_methods}, headers {allowed_headers}.
POST
/api/v1/x402/hsts-policy-check
Check an HSTS header against a minimum policy · HSTS Policy Check: checks HSTS max-age and subdomain directives against caller…
#
Ask an LLM
“Does my Strict-Transport-Security header meet a one-year max-age minimum?”
“Is includeSubDomains present in this HSTS header?”
Tell an agent
Check HSTS header {header} against minimum max-age {minimum_seconds} with subdomains required {require_subdomains}.
Verify Strict-Transport-Security value {header} meets {minimum_seconds} seconds, includeSubDomains {require_subdomains}.
POST
/api/v1/x402/csp-directive-parse
Parse CSP directives into source lists · CSP Directive Parse: parses Content-Security-Policy directives into normalized…
#
Ask an LLM
“Which sources does each directive in this Content-Security-Policy allow?”
“Can I get a normalized breakdown of script-src, img-src and other CSP directives?”
Tell an agent
Parse the Content-Security-Policy {header} into directives and source lists.
Break CSP header {header} into its individual directives.
POST
/api/v1/x402/csp-source-check
Check whether a source is allowed in one CSP directive · CSP Source Check: checks whether a caller-supplied source is present in one CSP…
#
Ask an LLM
“Is a given CDN host listed in my CSP script-src directive?”
“Can I test one source against a single directive of a Content-Security-Policy?”
Tell an agent
Check whether source {source} is present in the {directive} directive of CSP {header}.
Confirm CSP {header} lists {source} under {directive}.
POST
/api/v1/x402/permissions-policy-parse
Parse a Permissions-Policy header · Permissions Policy Parse: parses Permissions-Policy feature allowlists into…
#
Ask an LLM
“Which origins are allowed camera or geolocation in this Permissions-Policy header?”
“What does this Permissions-Policy allowlist look like once normalized?”
Tell an agent
Parse Permissions-Policy {header} into feature allowlists.
List each feature and its allowed origins from Permissions-Policy value {header}.
POST
/api/v1/x402/referrer-policy-check
Check a Referrer-Policy value against an allowlist · Referrer Policy Check: classifies a Referrer-Policy value against a caller…
#
Ask an LLM
“Is my Referrer-Policy value one of the policies my security team permits?”
“Does strict-origin-when-cross-origin pass a caller-defined referrer allowlist?”
Tell an agent
Check Referrer-Policy {value} against allowed policies {allowed}.
Classify referrer policy {value} using the allowlist {allowed}.
POST
/api/v1/x402/x-content-type-options-check
Verify X-Content-Type-Options is nosniff · X Content Type Options Check: checks whether X-Content-Type-Options is exactly…
#
Ask an LLM
“Is my X-Content-Type-Options header set exactly to nosniff?”
“Would a misspelled nosniff value fail the MIME-sniffing protection check?”
Tell an agent
Check that X-Content-Type-Options value {value} is exactly nosniff.
Verify the header value {value} disables MIME sniffing.
POST
/api/v1/x402/frame-ancestors-check
Check CSP frame-ancestors for a required source · Frame Ancestors Check: checks whether a CSP frame-ancestors directive contains…
#
Ask an LLM
“Does my CSP frame-ancestors directive allow my partner's site to embed the page?”
“Can I confirm a clickjacking policy includes a specific framing origin?”
Tell an agent
Check whether CSP {header} lists {required_source} in frame-ancestors.
Verify frame-ancestors in policy {header} includes {required_source}.
POST
/api/v1/x402/cookie-set-parse
Parse a Set-Cookie header · Cookie Set Parse: parses one Set-Cookie value into name, value, and attributes…
#
Ask an LLM
“What name, value and attributes does this Set-Cookie header carry?”
“Can I break a Set-Cookie line into Path, Domain, Max-Age and SameSite?”
Tell an agent
Parse the Set-Cookie header {header} into name, value and attributes.
Break down Set-Cookie value {header} attribute by attribute.
POST
/api/v1/x402/cookie-security-check
Check a cookie's Secure, HttpOnly and SameSite flags · Cookie Security Check: checks Secure, HttpOnly, and SameSite attributes against…
#
Ask an LLM
“Is my session cookie missing the Secure or HttpOnly flag?”
“Does this Set-Cookie use a SameSite value my policy allows?”
Tell an agent
Check Set-Cookie {header} with Secure {require_secure}, HttpOnly {require_http_only} and SameSite in {allowed_same_site}.
Audit cookie {header} against SameSite values {allowed_same_site}, Secure {require_secure}, HttpOnly {require_http_only}.
POST
/api/v1/x402/cookie-expiry-check
Check a cookie lifetime against a maximum · Cookie Expiry Check: checks Max-Age or Expires metadata against an allowed…
#
Ask an LLM
“Does this cookie's Max-Age exceed the longest lifetime my policy allows?”
“Can I flag persistent cookies that live longer than 30 days?”
Tell an agent
Check a cookie Max-Age of {max_age_seconds} seconds against a {maximum_seconds} second limit.
Tell me if lifetime {max_age_seconds} exceeds the allowed {maximum_seconds}.
POST
/api/v1/x402/cookie-domain-match
Match a cookie Domain against a request host · Cookie Domain Match: evaluates host-only or Domain cookie matching for a…
#
Ask an LLM
“Will a cookie scoped to .example.com be sent to this subdomain?”
“Does a host-only cookie match a different request host?”
Tell an agent
Check whether cookie domain {cookie_domain} matches request host {request_host}.
Evaluate if a cookie for {cookie_domain} would be sent to {request_host}.
POST
/api/v1/x402/cookie-path-match
Match a cookie Path against a request path · Cookie Path Match: evaluates cookie Path matching for a request path using only…
#
Ask an LLM
“Would a cookie with Path=/app be sent on a request to /application?”
“Does this cookie path cover the request path under RFC 6265 rules?”
Tell an agent
Check whether cookie path {cookie_path} matches request path {request_path}.
Tell me if a cookie on {cookie_path} applies to {request_path}.
POST
/api/v1/x402/www-authenticate-parse
Parse a WWW-Authenticate challenge · Www Authenticate Parse: parses an authentication challenge scheme and bounded…
#
Ask an LLM
“Which auth scheme and realm does this 401 WWW-Authenticate header ask for?”
“Can I pull the error and scope parameters out of a Bearer challenge?”
Tell an agent
Parse WWW-Authenticate {header} into its scheme and parameters.
Extract the realm and scope from challenge {header}.
POST
/api/v1/x402/authorization-scheme-identify
Identify the scheme in an Authorization header · Authorization Scheme Identify: identifies an Authorization scheme without…
#
Ask an LLM
“Is this Authorization header Basic, Bearer or something else?”
“Can I tell the auth scheme without exposing the credential itself?”
Tell an agent
Identify the scheme used in Authorization header {header}.
Tell me which auth scheme {header} uses without revealing the token.
POST
/api/v1/x402/range-header-parse
Parse a byte Range request header · Range Header Parse: parses one bounded HTTP byte range into start and end…
#
Ask an LLM
“What start and end byte offsets does this Range header request?”
“Is a bytes=500- range satisfiable for a file of a given size?”
Tell an agent
Parse Range header {header} against a resource of {resource_size} bytes.
Resolve the byte offsets requested by {header} for size {resource_size}.
POST
/api/v1/x402/content-range-parse
Parse a Content-Range response header · Content Range Parse: parses a Content-Range response and checks total-size…
#
Ask an LLM
“What byte span and total size does this Content-Range response claim?”
“Is the total length in a Content-Range header consistent with its span?”
Tell an agent
Parse the Content-Range {header} and check its total size.
Break Content-Range value {header} into start, end and total.
POST
/api/v1/x402/digest-header-verify
Verify a sha-256 Digest against text · Digest Header Verify: verifies a sha-256 Digest value against caller-supplied…
#
Ask an LLM
“Does this sha-256 Digest header match the body text I received?”
“Can I check a base64 SHA-256 digest against a payload before trusting it?”
Tell an agent
Verify {algorithm} digest {digest_base64} against the text {text}.
Confirm the body {text} hashes to {digest_base64} using {algorithm}.
POST
/api/v1/x402/location-header-resolve
Resolve a relative Location header · Location Header Resolve: resolves a relative Location value against a…
#
Ask an LLM
“Where does a relative Location header point once resolved against the request URL?”
“Can I turn ../next into an absolute redirect URL?”
Tell an agent
Resolve Location {location} against base URL {base_url}.
Give me the absolute URL for redirect target {location} from {base_url}.
POST
/api/v1/x402/redirect-chain-check
Check a redirect chain for loops and downgrades · Redirect Chain Check: checks a caller-supplied redirect chain for loops…
#
Ask an LLM
“Does this sequence of redirects loop or drop from HTTPS to HTTP?”
“Is a redirect chain within my maximum hop budget?”
Tell an agent
Check the redirect chain {urls} for loops and downgrades with at most {max_hops} hops.
Audit redirects {urls} against a hop limit of {max_hops}.
POST
/api/v1/x402/status-retry-classify
Classify whether a method and status are retryable · Status Retry Classify: classifies whether a method and status pair is retryable…
#
Ask an LLM
“Is a POST that returned 503 retryable under my own list of retry statuses?”
“Which method and status combinations does my retry policy treat as safe?”
Tell an agent
Classify whether {method} with status {status} is retryable given {retry_statuses}.
Tell me if status {status} on {method} should retry under retry statuses {retry_statuses}.
POST
/api/v1/x402/method-idempotency-classify
Classify an HTTP method as safe or idempotent · Method Idempotency Classify: classifies an HTTP method as safe, idempotent, or…
#
Ask an LLM
“Is PATCH an idempotent HTTP method?”
“Which HTTP verbs count as safe versus merely idempotent?”
Tell an agent
Classify HTTP method {method} as safe, idempotent or non-idempotent.
Tell me the idempotency class of {method}.
POST
/api/v1/x402/http-version-normalize
Normalize an HTTP version string · HTTP Version Normalize: normalizes common HTTP protocol version spellings using…
#
Ask an LLM
“Can I normalize spellings like h2, HTTP/2.0 and http2 into one form?”
“What canonical HTTP version does a string like HTTP/1 map to?”
Tell an agent
Normalize HTTP version {version} to its canonical spelling.
Convert protocol version string {version} into a standard label.
POST
/api/v1/x402/transfer-encoding-check
Validate Transfer-Encoding coding order · Transfer Encoding Check: checks transfer-coding order and whether chunked…
#
Ask an LLM
“Is chunked the final coding in this Transfer-Encoding header?”
“Can I detect a malformed Transfer-Encoding that could enable request smuggling?”
Tell an agent
Check Transfer-Encoding {header} to confirm chunked appears only last.
Validate the transfer-coding order in {header}.
POST
/api/v1/x402/connection-header-tokenize
Tokenize Connection header options · Connection Header Tokenize: normalizes hop-by-hop connection option tokens…
#
Ask an LLM
“Which hop-by-hop options are listed in this Connection header?”
“Can I normalize keep-alive and upgrade tokens from a Connection value?”
Tell an agent
Tokenize Connection header {header} into normalized options.
List the hop-by-hop tokens in Connection value {header}.
POST
/api/v1/x402/server-timing-parse
Parse Server-Timing metrics · Server Timing Parse: parses bounded Server-Timing metrics and durations using…
#
Ask an LLM
“What metrics and durations does this Server-Timing header report?”
“Can I pull db and cache timings out of a Server-Timing response header?”
Tell an agent
Parse Server-Timing {header} into metric names and durations.
Extract each timing metric from Server-Timing value {header}.
POST
/api/v1/x402/dns-ttl-budget-check
Check DNS TTLs against min and max bounds · DNS Ttl Budget Check: checks DNS record TTLs against caller minimum and maximum…
#
Ask an LLM
“Are any of my DNS record TTLs shorter or longer than the bounds I set?”
“Can I flag a TTL of 30 seconds as too low before a migration?”
Tell an agent
Check TTLs {ttls} against a minimum of {minimum} and maximum of {maximum} seconds.
Flag which of {ttls} fall outside {minimum} to {maximum}.
POST
/api/v1/x402/dns-cname-chain-check
Check a CNAME chain for loops and hop count · DNS Cname Chain Check: checks a caller-supplied CNAME chain for loops and hop…
#
Ask an LLM
“Does this CNAME chain loop back on itself?”
“Is a chain of CNAME aliases longer than my allowed hop budget?”
Tell an agent
Check the CNAME chain {names} for loops with a limit of {max_hops} hops.
Audit alias chain {names} against {max_hops} hops.
POST
/api/v1/x402/dns-mx-priority-sort
Sort MX records by preference · DNS MX Priority Sort: sorts MX exchanges by preference while preserving…
#
Ask an LLM
“In which order will mail servers try these MX exchanges?”
“Can I sort MX records by priority while keeping ties in their original order?”
Tell an agent
Sort the MX records {records} by preference.
Order mail exchanges {records} from lowest to highest priority value.
POST
/api/v1/x402/dns-txt-chunk-join
Join quoted DNS TXT chunks · DNS Txt Chunk Join: joins quoted DNS TXT chunks into the logical record value…
#
Ask an LLM
“How are split 255-character TXT strings joined back into one record value?”
“Can I reassemble a long DKIM TXT record from its quoted pieces?”
Tell an agent
Join the TXT chunks {chunks} into a single logical value.
Reassemble quoted DNS TXT strings {chunks}.
POST
/api/v1/x402/dns-spf-record-parse
Parse an SPF record · DNS SPF Record Parse: parses SPF version, mechanisms, modifiers, and terminal…
#
Ask an LLM
“What mechanisms and all-qualifier does this SPF record contain?”
“Does my SPF record end in -all or ~all?”
Tell an agent
Parse SPF record {record} into mechanisms, modifiers and final policy.
Break down the SPF string {record}.
POST
/api/v1/x402/dns-spf-lookup-budget
Count SPF DNS lookups against a limit · DNS SPF Lookup Budget: counts DNS-triggering SPF mechanisms against a…
#
Ask an LLM
“Will my SPF record exceed the 10 DNS lookup limit with all these includes?”
“How many DNS-triggering mechanisms does an SPF record use?”
Tell an agent
Count the DNS lookups in SPF record {record} against a maximum of {maximum}.
Check whether SPF {record} stays under {maximum} lookups.
POST
/api/v1/x402/dns-dmarc-policy-parse
Parse a DMARC policy record · DNS DMARC Policy Parse: parses DMARC policy, percentage, alignment, and report…
#
Ask an LLM
“What p=, pct= and rua= settings does this DMARC record declare?”
“Is my DMARC policy quarantine or reject, and is alignment strict?”
Tell an agent
Parse the DMARC record {record} into policy, percentage and report tags.
Read the alignment modes from DMARC string {record}.
Documentation
📖
Documentation
https://ontology.delx.ai/docs
📖
APIReference
https://ontology.delx.ai/docs/discovery
📖
Documentation
https://commerce.delx.ai/