{"uid":"cap_-ds1MGNWGJbFUN_MD3_Ls","slug":"payment-card-network-lookup-05027c9e","name":"Payment Card Network Lookup","description":"Detect the issuing network/brand (Visa, Mastercard, American Express, Discover, Diners Club, JCB, UnionPay, Maestro) from the card's IIN prefix, with the network's valid lengths. Returns `network:null` for an unrecognized prefix.","url":"https://creditcard.openverbs.com/v1/network","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","required":["number"],"properties":{"number":{"type":"string","maxLength":40,"minLength":1,"description":"Card number; spaces and hyphens are allowed."}},"additionalProperties":false},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-DfaYGtVMMaJAAUZuMPMV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Identifies the payment card network (e.g. Visa, Mastercard, Amex) from a given card number","exampleAgentPrompt":"Can you tell me which payment network the card number 4111 1111 1111 1111 belongs to — like whether it's Visa, Mastercard, Amex, or something else?","exampleUseCases":[{"title":"Checkout routing by card network","prompt":"Before processing this payment, can you figure out which card network the number 5500 0000 0000 0004 is on so I can route it to the right processor?"},{"title":"Validate card brand at form entry","prompt":"The user just typed in card number 3714 496353 98431 — can you detect whether that's an Amex card so I can show the right card logo on the form?"},{"title":"Fraud triage by card network","prompt":"I have a suspicious transaction with card number 6011 1111 1111 1117 — what network is that card on so I can check the right fraud rules?"}],"resultDescription":"Returns the identified payment card network (e.g. Visa, Mastercard, American Express, Discover, UnionPay) associated with the provided card number, based on the card's number prefix and length.","failureModes":["Card number too short or too long — rejected with validation error","Unrecognized card prefix that doesn't match any known network — returns unknown or error","Malformed input (non-numeric characters beyond allowed spaces/hyphens) — rejected","Card number passes format check but is not attributable to a major network"],"whenToPreferThis":"Use this endpoint when you need a quick, lightweight lookup of the payment network for a card number without running a full validation or charge. Ideal for UI card-logo detection, payment routing decisions, or fraud triage where only the network identity is needed and you want a low-cost, fast call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:31:37.812Z","isFirstParty":false}