{"uid":"cap_yM9Pp360UWm3EEDeTW2t8","slug":"brainiac-product-variant-validator-c017003b","name":"BRAINIAC Product Variant Validator","description":"Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.","url":"https://www.brainiac.software/api/v1/ecommerce-catalog/product-variant-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","maxLength":200000,"minLength":1},"file":{"type":"object","required":["mediaType","fileBase64"],"properties":{"filename":{"type":"string","maxLength":180,"minLength":1},"mediaType":{"enum":["text/csv","application/json","text/plain"],"type":"string"},"fileBase64":{"type":"string","maxLength":12000000,"minLength":1}},"additionalProperties":false},"json":{"type":"string","maxLength":200000,"minLength":1},"products":{"type":"array","items":{"type":"object","properties":{"mpn":{"type":"string","maxLength":80,"minLength":1},"sku":{"type":"string","maxLength":80,"minLength":1},"gtin":{"type":"string","maxLength":20,"minLength":1},"link":{"type":"string","maxLength":2000,"minLength":1},"size":{"type":"string","maxLength":80,"minLength":1},"brand":{"type":"string","maxLength":200,"minLength":1},"color":{"type":"string","maxLength":80,"minLength":1},"price":{"type":"number","maximum":1000000000,"minimum":0},"title":{"type":"string","maxLength":500,"minLength":1},"width":{"type":"number","maximum":1000000000,"minimum":0},"height":{"type":"number","maximum":1000000000,"minimum":0},"length":{"type":"number","maximum":1000000000,"minimum":0},"weight":{"type":"number","maximum":1000000000,"minimum":0},"category":{"type":"string","maxLength":300,"minLength":1},"currency":{"type":"string","maxLength":12,"minLength":1},"imageAlt":{"type":"string","maxLength":300,"minLength":1},"imageUrl":{"type":"string","maxLength":2000,"minLength":1},"material":{"type":"string","maxLength":200,"minLength":1},"condition":{"type":"string","maxLength":40,"minLength":1},"parentSku":{"type":"string","maxLength":80,"minLength":1},"attributes":{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","maxLength":80,"minLength":1},"value":{"type":"string","maxLength":500,"minLength":1}},"additionalProperties":false},"maxItems":40},"imageWidth":{"type":"integer","maximum":20000,"minimum":0},"weightUnit":{"type":"string","maxLength":20,"minLength":1},"description":{"type":"string","maxLength":20000,"minLength":1},"imageHeight":{"type":"integer","maximum":20000,"minimum":0},"availability":{"type":"string","maxLength":40,"minLength":1},"certification":{"type":"string","maxLength":200,"minLength":1},"dimensionUnit":{"type":"string","maxLength":20,"minLength":1},"attributesText":{"type":"string","maxLength":20000,"minLength":1},"additionalImageUrls":{"type":"array","items":{"type":"string","maxLength":2000,"minLength":1},"maxItems":10},"googleProductCategory":{"type":"string","maxLength":300,"minLength":1}},"additionalProperties":false},"maxItems":500}}},"responseSchema":{"type":"json","example":{"issues":[{"row":1,"code":"parent_missing","kind":"missing","field":"parentSku","detail":"No product in this request uses this parent sku. A parent product was not created.","productRef":"mug-blue"},{"row":2,"code":"parent_missing","kind":"missing","field":"parentSku","detail":"No product in this request uses this parent sku. A parent product was not created.","productRef":"mug-blue-2"},{"row":1,"code":"duplicate_variant","kind":"duplicate","field":"size","detail":"Another variant of this parent has the same color and size.","productRef":"mug-blue"},{"row":2,"code":"duplicate_variant","kind":"duplicate","field":"size","detail":"Another variant of this parent has the same color and size.","productRef":"mug-blue-2"},{"row":1,"code":"price_conflict","kind":"conflict","field":"price","detail":"Variants of this parent have different prices or currencies. The prices were not averaged.","productRef":"mug-blue"},{"row":2,"code":"price_conflict","kind":"conflict","field":"price","detail":"Variants of this parent have different prices or currencies. The prices were not averaged.","productRef":"mug-blue-2"},{"row":3,"code":"parent_missing","kind":"missing","field":"parentSku","detail":"No product in this request uses this parent sku. A parent product was not created.","productRef":"orphan"}],"status":"checked","checkedAt":"2026-11-03T09:00:00.000Z","limitations":["No sales channel was contacted and no product was published.","Specifications, dimensions, materials, and certifications are not invented.","A category is marked inferred only when one caller-supplied keyword matches the title. It is not written over a supplied category.","Feed checks cover brainiac-catalog-v1 and a documented Google Merchant subset. They are not a channel approval.","Image files are not downloaded. Only supplied URLs and metadata are checked."],"productCount":3,"variantCount":3,"channelPublished":false,"specificationsInvented":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","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.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XXTidb7H4b-GLU9xjILoU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates e-commerce product catalog data for variant relationship issues, duplicate variants, price conflicts, and feed compliance problems","exampleAgentPrompt":"Can you check my product variants for issues before I upload them? I have a list of 50 variants with SKUs, parentSkus, colors, sizes, and prices — I need to know if there are any duplicate variants, missing parent products, or price conflicts across the same parent.","exampleUseCases":[{"title":"Pre-upload catalog quality check","prompt":"I'm about to upload 200 product variants to my store. Can you validate this product list for me and flag any duplicate variants, missing parent SKUs, or price conflicts before I push it live?"},{"title":"Google Merchant feed audit","prompt":"I have a CSV feed I'm about to submit to Google Merchant Center. Can you check it for issues like orphaned variants, duplicate color-size combinations, and missing required fields so I don't get rejected?"},{"title":"Variant data integrity review","prompt":"My catalog team just exported our product variants as JSON. Can you run a validation check on them and tell me which products have parent_missing errors, duplicate_variant problems, or price_conflict issues, with the exact rows and field names affected?"}],"resultDescription":"A JSON object containing: a list of issues (each with row number, error code, kind, affected field, human-readable detail, and product reference), overall status ('checked'), a timestamp, counts of products and variants checked, a flag indicating whether anything was published to a sales channel, and a limitations list explaining what was and was not evaluated.","failureModes":["Empty or malformed CSV/JSON input returns parsing errors","Products referencing parentSkus not present in the same request trigger parent_missing codes","Duplicate color+size combinations on the same parent trigger duplicate_variant codes","Variants of the same parent with differing prices or currencies trigger price_conflict codes","Input exceeding 200,000 character limit for csv/json fields returns a size error","File base64 exceeding 12,000,000 character limit is rejected","Missing required file fields (mediaType, fileBase64) causes schema validation failure","Payment failure via x402 results in HTTP 402 and no result returned"],"whenToPreferThis":"Use this endpoint when you need a fast, accountless, pay-per-call validation of product variant data before submitting to an e-commerce platform or feed channel. It is ideal for catching structural issues (missing parents, duplicate variants, price conflicts) in bulk catalog data provided as a product array, CSV, or JSON without needing to set up an account or integration. Prefer this over manual review or platform-native validators when you want structured, machine-readable issue reports with field-level and row-level detail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:36:49.163Z","isFirstParty":false,"canonicalSlug":"brainiac-product-variant-validator-c017003b"}