{"openapi":"3.1.0","info":{"version":"1.0.0","title":"Phone Check API","description":"Call the Phone Check API from your own code; every charged call uses your workspace's Phone Check credits.\n\n**Authentication.** Create an API key in your workspace (Settings → API keys) and send it as the `x-api-key` header. A `read` key lists and reads; a `write` key also makes changes, like a workspace member; an `admin` key can do everything its owner can. Every call acts on the workspace of the key. Guide: https://api.phone-check.app/developers/auth.md\n\n**Errors.** Failures answer `{ \"error\": \"UPPER_SNAKE_CODE\", \"message\": \"...\" }` with the HTTP status; validation errors add `issues`. `402 INSUFFICIENT_CREDITS` means the credits are used up; `429` means slow down (see the `ratelimit-*` headers).\n\n**Ids** are UUIDv7 strings; times are ISO 8601 UTC.\n\n## AI Agents (MCP)\n\nThis API is also available as a hosted [MCP](https://modelcontextprotocol.io) server for AI agents at `https://mcp.phone-check.app/mcp` — Streamable HTTP (JSON-RPC 2.0), authenticated with the same `x-api-key` header and scoped to the key's workspace. API catalog: `https://api.phone-check.app/.well-known/api-catalog`."},"servers":[{"url":"https://api.phone-check.app","description":"Phone Check"}],"components":{"schemas":{"BadRequestError":{"type":"object","properties":{"error":{"type":"string","example":"VALIDATION_ERROR","description":"Error code identifier"},"message":{"type":"string","example":"Invalid request parameters","description":"Human-readable error message"}},"required":["error","message"]},"UnauthorizedError":{"type":"object","properties":{"error":{"type":"string","example":"AUTHENTICATION_REQUIRED","description":"Error code"},"message":{"type":"string","example":"Authentication token is required","description":"Error message"}},"required":["error","message"]},"ForbiddenError":{"type":"object","properties":{"error":{"type":"string","example":"ACCESS_DENIED","description":"Error code"},"message":{"type":"string","example":"You do not have permission to perform this action","description":"Error message"}},"required":["error","message"]},"NotFoundError":{"type":"object","properties":{"error":{"type":"string","example":"NOT_FOUND","description":"Error code"},"message":{"type":"string","example":"The requested resource was not found","description":"Error message"}},"required":["error","message"]},"TooManyRequestsError":{"type":"object","properties":{"error":{"type":"string","example":"RATE_LIMIT_EXCEEDED","description":"Error code"},"message":{"type":"string","example":"Too many requests, please try again later","description":"Error message"}},"required":["error","message"]},"InternalServerError":{"type":"object","properties":{"error":{"type":"string","example":"INTERNAL_SERVER_ERROR","description":"Error code"},"message":{"type":"string","example":"An unexpected error occurred","description":"Error message"}},"required":["error","message"]},"ServiceUnavailableError":{"type":"object","properties":{"error":{"type":"string","example":"AUTHENTICATION_UNAVAILABLE","description":"Error code"},"message":{"type":"string","example":"Service temporarily unavailable","description":"Error message"}},"required":["error","message"]},"PaginationMeta":{"type":"object","properties":{"page":{"type":"integer","minimum":1},"limit":{"type":"integer","minimum":1,"maximum":200},"total":{"type":"integer","minimum":0},"totalPages":{"type":"integer","minimum":0},"hasNext":{"type":"boolean"},"hasPrev":{"type":"boolean"}},"required":["page","limit","total","totalPages","hasNext","hasPrev"]},"WalletBrandDomain":{"type":"string","enum":["any.xyz","phone-check.app","email-check.app","ip-info.app","ops.tools","currency-exchange.app"],"description":"Brand domain of the wallet (each product brand keeps its own credits, plans and Stripe customer)","example":"phone-check.app"},"CreditUsageDailyListResponse":{"type":"object","properties":{"daily":{"type":"array","items":{"$ref":"#/components/schemas/CreditUsageDailyModel"}},"pagination":{"$ref":"#/components/schemas/PaginationMeta"}},"required":["daily","pagination"]},"CreditUsageDailyModel":{"type":"object","properties":{"_id":{"type":"string","format":"uuid","example":"018f6b1c-7e2a-7000-9d3e-4a5b6c7d8e9f","description":"UUID v7 identifier (36-character string)"},"workspaceId":{"type":"string","format":"uuid","example":"018f6b1c-7e2a-7000-9d3e-4a5b6c7d8e9f","description":"UUID v7 identifier (36-character string)"},"brandDomain":{"$ref":"#/components/schemas/WalletBrandDomain"},"userId":{"type":"string","format":"uuid","example":"018f6b1c-7e2a-7000-9d3e-4a5b6c7d8e9f","description":"UUID v7 identifier (36-character string)"},"service":{"type":"string","description":"Product service that consumed credits (e.g., \"phone-details\", \"email-check-details\")","example":"phone-details"},"date":{"type":"string","description":"Date in YYYY-MM-DD format","example":"2026-01-20"},"creditsUsed":{"type":"number","description":"Total credits consumed on this date","example":150},"requestCount":{"type":"number","description":"Number of requests made on this date","example":25},"metadata":{"type":"object","additionalProperties":{}}},"required":["_id","workspaceId","brandDomain","userId","service","date","creditsUsed","requestCount"]},"CreditUsageBreakdownResponse":{"type":"object","properties":{"workspaceId":{"type":"string","format":"uuid","example":"018f6b1c-7e2a-7000-9d3e-4a5b6c7d8e9f","description":"UUID v7 identifier (36-character string)"},"groupBy":{"type":"array","items":{"type":"string","enum":["date","user","api-key","service"]}},"totals":{"type":"object","properties":{"credits":{"type":"number","description":"Credits consumed in this slice."},"requests":{"type":"number","description":"Charged requests in this slice."}},"required":["credits","requests"]},"groups":{"type":"array","items":{"type":"object","properties":{"date":{"type":["string","null"],"description":"Usage day (YYYY-MM-DD, UTC).","example":"2026-07-01"},"userId":{"type":["string","null"],"format":"uuid","description":"Workspace member the usage attributes to (null when not grouped by user)."},"apiKeyId":{"type":["string","null"],"format":"uuid","description":"API key that made the calls (null for signed-in calls, or when not grouped by API key)."},"service":{"type":["string","null"],"description":"Product service that consumed credits.","example":"phone-details"},"credits":{"type":"number","description":"Credits consumed in this slice."},"requests":{"type":"number","description":"Charged requests in this slice."}},"required":["date","userId","apiKeyId","service","credits","requests"]}}},"required":["workspaceId","groupBy","totals","groups"]},"PhoneDetailsResponse":{"type":"object","properties":{"number":{"type":"string","description":"The number as looked up (digits and a leading `+`).","example":"+14155552671"},"valid":{"type":"boolean","description":"Whether the number is a valid, assignable number in its country.","example":true},"country":{"type":"string","description":"ISO 3166-1 alpha-2 country of the number.","example":"US"},"callingCode":{"type":"string","description":"Country calling code, without `+`.","example":"1"},"nationalNumber":{"type":"string","description":"The number without its calling code.","example":"4155552671"},"type":{"type":"string","description":"Line type: MOBILE, FIXED_LINE, FIXED_LINE_OR_MOBILE, VOIP, TOLL_FREE, PAGER, …","example":"MOBILE"},"isDisposable":{"type":"boolean","description":"The number is a known disposable or temporary number.","example":false},"carrier":{"type":"string","description":"Operator of the number range.","example":"T-Mobile"},"matchedCarriers":{"type":"array","items":{"type":"string"},"description":"Operators sharing the number range when it cannot be narrowed to one carrier."},"network":{"$ref":"#/components/schemas/CarrierNetwork"},"geo":{"type":"string","description":"Place of the number range.","example":"San Francisco, CA"},"timezones":{"type":"array","items":{"type":"string"},"description":"IANA time zones of the number range.","example":["America/Los_Angeles"]}},"required":["valid"]},"CarrierNetwork":{"type":"object","properties":{"brand":{"type":"string","description":"Network brand as registered for the MCC/MNC.","example":"O2 (UK)"},"operator":{"type":"string","description":"Operator holding the network code.","example":"Telefónica Europe"},"mcc":{"type":"string","description":"Mobile country code (ITU E.212), the operator's primary one.","example":"234"},"mnc":{"type":"array","items":{"type":"string"},"description":"Mobile network codes the operator holds under `mcc`.","example":["02","10","11"]},"plmn":{"type":"array","items":{"type":"string"},"description":"Every MCC+MNC pair (PLMN ID) the operator holds, across all its MCCs.","example":["23402","23410","23411"]}},"required":["brand","operator","mcc","mnc","plmn"],"description":"Mobile network identity of the carrier, when the carrier holds network codes."},"InsufficientCreditsError":{"type":"object","properties":{"error":{"type":"string","enum":["INSUFFICIENT_CREDITS"],"description":"Error code"},"message":{"type":"string","example":"No credits left: add credits or a plan under Billing","description":"Error message"}},"required":["error","message"]},"PhoneExtraDetailsResponse":{"allOf":[{"$ref":"#/components/schemas/PhoneDetailsResponse"},{"type":"object","properties":{"npa":{"type":"string","description":"Area code (NPA).","example":"201"},"nxx":{"type":"string","description":"Exchange (NXX).","example":"351"},"blockId":{"type":"string","description":"Thousand-block digit of the number, `A` for a whole-exchange record.","example":"4"},"thousandsBlockPooling":{"type":"string","description":"`Y` when the exchange is split into pooled thousand-blocks.","example":"Y"},"lata":{"type":"string","description":"LATA code.","example":"224"},"lineTypeCode":{"type":"string","description":"Registry line type: `S` fixed, `C` mobile, `V` VoIP, `P` pager.","example":"V"},"contamination":{"type":"string","description":"`Y` when numbers of other carriers are ported or assigned inside the block.","example":"N"},"state":{"type":"string","description":"State or province.","example":"NJ"},"wireCenter":{"type":"string","description":"Wire center name.","example":"NEWARK-MARKET ST"},"wireCenterV":{"type":"string","description":"Wire center V coordinate (V&H).","example":"05016"},"wireCenterH":{"type":"string","description":"Wire center H coordinate (V&H).","example":"01430"},"switchClli":{"type":"string","description":"CLLI code of the serving switch.","example":"NWRKNJ0248Z"},"rateCenterStatus":{"type":"string","description":"Rate center status code.","example":"M"},"rateCenterType":{"type":"string","description":"Rate center type code.","example":""},"rateCenter":{"type":"string","description":"Rate center.","example":"UNION CITY"},"rateCenterV":{"type":"string","description":"Rate center V coordinate (V&H).","example":"04995"},"rateCenterH":{"type":"string","description":"Rate center H coordinate (V&H).","example":"01415"},"rateCenterLong":{"type":"string","description":"Rate center, full name.","example":"Union City"},"timezoneCode":{"type":"string","description":"Registry time zone code.","example":"ET"},"daylightSaving":{"type":"string","description":"`Y` when daylight saving time applies.","example":"Y"},"zip":{"type":"string","description":"Main ZIP code.","example":"07047"},"zip2":{"type":"string","description":"Second ZIP code.","example":"07086"},"zip3":{"type":"string","description":"Third ZIP code.","example":"07087"},"zip4":{"type":"string","description":"Fourth ZIP code.","example":"07093"},"fips":{"type":"string","description":"County FIPS code.","example":"34017"},"fips2":{"type":"string","description":"Second county FIPS code.","example":""},"fips3":{"type":"string","description":"Third county FIPS code.","example":""},"cbsa":{"type":"string","description":"CBSA code.","example":"35620"},"cbsa2":{"type":"string","description":"Second CBSA code.","example":""},"msa":{"type":"string","description":"MSA code.","example":"5602"},"pmsa":{"type":"string","description":"PMSA code.","example":"3640"},"latitude":{"type":"number","description":"Rate center latitude.","example":40.7787},"longitude":{"type":"number","description":"Rate center longitude.","example":-74.0231},"ocnCategory":{"type":"string","description":"OCN category code.","example":"C"},"ocn":{"type":"string","description":"Operating Company Number of the carrier running the block.","example":"118F"},"derivedFromNpa":{"type":"string","description":"Area code this one was split from.","example":""},"newNpa":{"type":"string","description":"Area codes serving the area (overlays), `;`-separated.","example":"201;551"},"overlay":{"type":"string","description":"`O` when the area code is an overlay.","example":"O"},"disconnect":{"type":"string","description":"Disconnect date, when the block is being withdrawn.","example":""},"assignDate":{"type":"string","description":"Date the block was assigned.","example":"2012-08-13"},"effectiveDate":{"type":"string","description":"Date the assignment took effect.","example":"2012-09-09"},"features":{"type":"string","description":"Central office feature codes.","example":"DAGBGCGJHBHC"},"mta1":{"type":"string","description":"Major Trading Area code.","example":"01"},"mta2":{"type":"string","description":"Second Major Trading Area code.","example":""},"bta":{"type":"string","description":"Basic Trading Area code.","example":"321"},"nxxType":{"type":"string","description":"Exchange type code.","example":"00"},"olsonTz":{"type":"string","description":"IANA time zone.","example":"America/New_York"},"utcOffset":{"type":"string","description":"UTC offset.","example":"-05:00"},"portable":{"type":"string","description":"`Y` when numbers in the block are portable.","example":"Y"},"lir":{"type":"string","description":"Local interconnect region.","example":""},"isWholesaleHosted":{"type":"boolean","description":"The block runs on a wholesale or reseller carrier (MVNO SIMs, VoIP apps, second-number services).","example":true},"ocnCompany":{"type":"string","description":"Legal name of the OCN.","example":"Bandwidth.com CLEC LLC - NJ"},"ocnType":{"type":"string","description":"OCN class: CLEC, ILEC, WIRELESS, IPES, WRSL (wholesale), …","example":"CLEC"},"ocnCommonName":{"type":"string","description":"Common name of the carrier.","example":"Bandwidth.com"},"ocnDba":{"type":"string","description":"Doing-business-as name.","example":"Bandwidth.com CLEC LLC"},"ocnHolding":{"type":"string","description":"Holding company.","example":"Bandwidth Inc"},"ocnManagement":{"type":"string","description":"Management company.","example":""},"ocnAddress":{"type":"string","description":"Carrier address.","example":"4001 Weston Pkwy"},"ocnAddress2":{"type":"string","description":"Carrier address, second line.","example":""},"ocnCity":{"type":"string","description":"Carrier city.","example":"Cary"},"ocnState":{"type":"string","description":"Carrier state.","example":"NC"},"ocnZip":{"type":"string","description":"Carrier ZIP code.","example":"27513-2311"},"ocnCountry":{"type":"string","description":"Carrier country.","example":"US"},"ocnNeca":{"type":"string","description":"`Y` when the carrier is a NECA member.","example":"N"},"ocnRural":{"type":"string","description":"`Y` when the carrier is a rural carrier.","example":""},"lataLocation":{"type":"string","description":"LATA name.","example":"NORTH JERSEY"},"cbsaAreaName":{"type":"string","description":"CBSA name.","example":"New York-Newark-Jersey City"},"cbsaAreaType":{"type":"string","description":"CBSA type.","example":"Metropolitan Statistical Area"},"cbsaCsa":{"type":"string","description":"Combined Statistical Area code.","example":"408"},"msaName":{"type":"string","description":"MSA name.","example":"New York-Northern New Jersey-Long Island NY-NJ-CT-PA"},"msaType":{"type":"string","description":"MSA type.","example":"CMSA"},"msaPopulation":{"type":"string","description":"MSA population.","example":"20196649"},"msaCmsa":{"type":"string","description":"Consolidated MSA code.","example":"70"},"mta1MarketName":{"type":"string","description":"Major Trading Area name.","example":""},"mta2MarketName":{"type":"string","description":"Second Major Trading Area name.","example":""},"btaName":{"type":"string","description":"Basic Trading Area name.","example":"New York NY"},"countyName":{"type":"string","description":"County.","example":"Hudson"},"countyType":{"type":"string","description":"County type.","example":"County"},"countyLandArea":{"type":"string","description":"County land area, square miles.","example":"46.19"},"countyPopulation":{"type":"string","description":"County population.","example":"703366"},"wireCenterCityName":{"type":"string","description":"Wire center city.","example":""},"wireCenterStateName":{"type":"string","description":"Wire center state.","example":""},"wireCenterCountry":{"type":"string","description":"Wire center country.","example":""},"wireCenterLatitude":{"type":"number","description":"Wire center latitude.","example":0},"wireCenterLongitude":{"type":"number","description":"Wire center longitude.","example":0}}}],"description":"Phone details; a NANP number found in the NPA-NXX registry adds its block record."},"PhoneFullDetailsResponse":{"allOf":[{"$ref":"#/components/schemas/PhoneExtraDetailsResponse"},{"type":"object","properties":{"nxxCarrierMix":{"type":"array","items":{"$ref":"#/components/schemas/NxxCarrierMixEntry"},"description":"Carriers running the blocks of the exchange, most blocks first."},"nxxSummary":{"$ref":"#/components/schemas/NxxSummary"}}}],"description":"Phone extra details; a NANP number found in the NPA-NXX registry adds the carrier mix of its whole exchange."},"NxxCarrierMixEntry":{"type":"object","properties":{"carrier":{"type":"string","description":"Common name of the carrier.","example":"Bandwidth.com"},"ocn":{"type":"string","description":"Operating Company Number.","example":"118F"},"ocnType":{"type":"string","description":"OCN class (CLEC, ILEC, WIRELESS, IPES, WRSL, …).","example":"CLEC"},"blocks":{"type":"integer","description":"Thousand-blocks of the exchange this carrier runs.","example":7},"isWholesaleHosted":{"type":"boolean","description":"A wholesale or reseller carrier.","example":true}},"required":["carrier","ocn","ocnType","blocks","isWholesaleHosted"]},"NxxSummary":{"type":"object","properties":{"totalBlocks":{"type":"integer","description":"Blocks in the exchange (NPA-NXX).","example":11},"wholesaleBlocks":{"type":"integer","description":"Blocks run by wholesale or reseller carriers.","example":8},"wholesaleShare":{"type":"number","description":"`wholesaleBlocks / totalBlocks` (0..1): the share of the exchange on reseller infrastructure.","example":0.7273},"carrierCount":{"type":"integer","description":"Distinct carriers running blocks in the exchange.","example":4}},"required":["totalBlocks","wholesaleBlocks","wholesaleShare","carrierCount"]}},"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"API Key authentication using the `x-api-key` header."}}},"paths":{"/credit-usage/daily/list":{"get":{"summary":"List the credits used per day","description":"List the credits the request brand's wallets used per day.","security":[{"ApiKeyAuth":[]}],"parameters":[{"schema":{"type":"integer","exclusiveMinimum":0,"default":1,"example":1,"description":"Page number for pagination"},"required":false,"description":"Page number for pagination","name":"page","in":"query"},{"schema":{"type":"integer","exclusiveMinimum":0,"maximum":1000,"default":20,"example":200,"description":"Number of rows per page (max 1000, `CREDIT_USAGE_DAILY_LIST_MAX_LIMIT`): 90 days of usage in one request"},"required":false,"description":"Number of rows per page (max 1000, `CREDIT_USAGE_DAILY_LIST_MAX_LIMIT`): 90 days of usage in one request","name":"limit","in":"query"},{"schema":{"type":"string","description":"Filter by specific daily credit usage row IDs (comma-separated UUID v7)","example":"018f6b1c-7e2a-7000-9d3e-4a5b6c7d8e8f,018f6b1c-7e2a-7000-9d3e-4a5b6c7d8e8f"},"required":false,"description":"Filter by specific daily credit usage row IDs (comma-separated UUID v7)","name":"ids","in":"query"},{"schema":{"type":"string","format":"uuid","example":"018f6b1c-7e2a-7000-9d3e-000000000011","description":"Filter by specific workspace ID"},"required":false,"description":"Filter by specific workspace ID","name":"workspaceId","in":"query"},{"schema":{"type":"string","example":"phone-details","description":"Filter by service name (exact match)"},"required":false,"description":"Filter by service name (exact match)","name":"service","in":"query"},{"schema":{"type":"string","example":"2026-01-01","description":"Filter records from this date onwards (YYYY-MM-DD format)"},"required":false,"description":"Filter records from this date onwards (YYYY-MM-DD format)","name":"dateFrom","in":"query"},{"schema":{"type":"string","example":"2026-01-31","description":"Filter records up to this date (YYYY-MM-DD format)"},"required":false,"description":"Filter records up to this date (YYYY-MM-DD format)","name":"dateTo","in":"query"},{"schema":{"type":"string","enum":["date","creditsUsed","requestCount"],"default":"date","example":"date","description":"Field to sort by. Rows carry no timestamps, so the newest day first is the default."},"required":false,"description":"Field to sort by. Rows carry no timestamps, so the newest day first is the default.","name":"sortBy","in":"query"},{"schema":{"type":"string","enum":["asc","desc"],"default":"desc","example":"desc","description":"Sort order"},"required":false,"description":"Sort order","name":"sortOrder","in":"query"}],"responses":{"200":{"description":"Credit usage records retrieved successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditUsageDailyListResponse"}}}},"400":{"description":"Bad request - Invalid input parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"Access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"The request could not be checked or served right now. It says nothing about the request; send it again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableError"}}}}}}},"/credit-usage/breakdown":{"get":{"summary":"Get credit usage breakdown","description":"Credits the request brand's wallet used in a date range, grouped by date, member, API key or service.","security":[{"ApiKeyAuth":[]}],"parameters":[{"schema":{"type":"string","format":"uuid","example":"018f6b1c-7e2a-7000-9d3e-000000000011","description":"Workspace to report usage for (required)."},"required":true,"description":"Workspace to report usage for (required).","name":"workspaceId","in":"query"},{"schema":{"type":"string","description":"From this day (inclusive, YYYY-MM-DD).","example":"2026-07-01"},"required":false,"description":"From this day (inclusive, YYYY-MM-DD).","name":"dateFrom","in":"query"},{"schema":{"type":"string","description":"To this day (inclusive, YYYY-MM-DD).","example":"2026-07-31"},"required":false,"description":"To this day (inclusive, YYYY-MM-DD).","name":"dateTo","in":"query"},{"schema":{"type":"string","default":["service"],"description":"Dimensions to group usage by (comma-separated subset of date / user / api-key / service).","example":"api-key,service"},"required":false,"description":"Dimensions to group usage by (comma-separated subset of date / user / api-key / service).","name":"groupBy","in":"query"}],"responses":{"200":{"description":"Credits used by the request brand wallet, grouped by the requested dimension(s), highest-credit first.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreditUsageBreakdownResponse"}}}},"400":{"description":"Bad request - Invalid input parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"403":{"description":"Access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"The request could not be checked or served right now. It says nothing about the request; send it again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableError"}}}}}}},"/phone/details":{"get":{"summary":"Validate a phone number","description":"Validate `phone` and return its country, line type, carrier and network, place, time zones and disposable flag; costs 1 credit.","security":[{"ApiKeyAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":6,"maxLength":20,"description":"The number, international format (`+` and the country code) or a 10-digit NANP number.","example":"+14155552671"},"required":true,"description":"The number, international format (`+` and the country code) or a 10-digit NANP number.","name":"phone","in":"query"}],"responses":{"200":{"description":"The number validated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneDetailsResponse"}}}},"400":{"description":"Bad request - Invalid input parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"402":{"description":"The API key's workspace has no credits left on this brand","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsufficientCreditsError"}}}},"403":{"description":"Access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"The request could not be checked or served right now. It says nothing about the request; send it again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableError"}}}}}}},"/phone/extra-details":{"get":{"summary":"Look up a phone number with its carrier context","description":"Phone details plus, for a NANP number (US, Canada, Caribbean) in the NPA-NXX registry, its carrier (OCN, holding company, wholesale flag), rate center and market; 3 credits, or 1 for any other number.","security":[{"ApiKeyAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":6,"maxLength":20,"description":"The number, international format (`+` and the country code) or a 10-digit NANP number.","example":"+14155552671"},"required":true,"description":"The number, international format (`+` and the country code) or a 10-digit NANP number.","name":"phone","in":"query"}],"responses":{"200":{"description":"The number validated, with its carrier context","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneExtraDetailsResponse"}}}},"400":{"description":"Bad request - Invalid input parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"402":{"description":"The API key's workspace has no credits left on this brand","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsufficientCreditsError"}}}},"403":{"description":"Access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"The request could not be checked or served right now. It says nothing about the request; send it again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableError"}}}}}}},"/phone/full-details":{"get":{"summary":"Look up a phone number with its exchange context","description":"Phone extra details plus, for a NANP number (US, Canada, Caribbean) in the NPA-NXX registry, the carriers running its whole exchange and the wholesale share; 6 credits, or 1 for any other number.","security":[{"ApiKeyAuth":[]}],"parameters":[{"schema":{"type":"string","minLength":6,"maxLength":20,"description":"The number, international format (`+` and the country code) or a 10-digit NANP number.","example":"+14155552671"},"required":true,"description":"The number, international format (`+` and the country code) or a 10-digit NANP number.","name":"phone","in":"query"}],"responses":{"200":{"description":"The number validated, with its carrier and exchange context","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PhoneFullDetailsResponse"}}}},"400":{"description":"Bad request - Invalid input parameters","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestError"}}}},"401":{"description":"Authentication required","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UnauthorizedError"}}}},"402":{"description":"The API key's workspace has no credits left on this brand","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InsufficientCreditsError"}}}},"403":{"description":"Access denied","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenError"}}}},"404":{"description":"Resource not found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotFoundError"}}}},"429":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TooManyRequestsError"}}}},"500":{"description":"Internal server error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerError"}}}},"503":{"description":"The request could not be checked or served right now. It says nothing about the request; send it again.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableError"}}}}}}}},"webhooks":{}}