{"uid":"cap_U54NbleiQU-CeBXRV2-jK","slug":"delx-commerce-cidr-contains-check-fd65f402","name":"Delx Commerce CIDR Contains Check","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/cidr-contains?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","bodyType","body"],"properties":{"body":{"type":"object","additionalProperties":true},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object","additionalProperties":true}}}}},"responseSchema":{"type":"json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_W44mcw7CiV9buS0pq2r7i","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a given IP address falls within a specified CIDR block/subnet range","exampleAgentPrompt":"Check whether the IP address 203.0.113.45 is contained within the CIDR block 203.0.113.0/24.","exampleUseCases":[{"title":"Firewall allowlist validation","prompt":"I need to check if the incoming request IP 10.20.30.45 is within our trusted internal network range 10.20.0.0/16 — can you verify that for me?"},{"title":"Geofencing IP range enforcement","prompt":"Is the IP address 185.220.101.5 inside the CIDR block 185.220.100.0/22? I need to know if it belongs to that network segment before I allow access."},{"title":"Cloud subnet membership check","prompt":"We have a VPC subnet defined as 172.31.16.0/20 — does the IP 172.31.25.100 fall within it?"}],"resultDescription":"A JSON response indicating whether the given IP address is contained within the specified CIDR block, returning a boolean or equivalent membership status result.","failureModes":["Invalid IP address format — malformed input causes rejection","Invalid CIDR notation — incorrect subnet mask or prefix length","Missing required body fields — request fails if IP or CIDR is omitted","Payment failure — x402 USDC payment not processed correctly, returns 402","Network timeout — service unavailable, returns 5xx error"],"whenToPreferThis":"Use this endpoint when you need a quick, pay-per-use CIDR containment check with no signup or subscription required, paid via USDC on Base or Solana. Ideal for AI agents that need on-demand IP range validation without managing API keys or monthly plans. Prefer this over self-hosted solutions when you want verifiable, metered delivery at $0.001 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:59.431Z","isFirstParty":false,"canonicalSlug":"delx-commerce-cidr-contains-check-fd65f402"}