{"openapi":"3.1.0","info":{"title":"ChinaRailGrid Commercial B2B Sourcing & CRCC Compliance API","version":"1.0.0","description":"Commercial API & Stateless Streamable HTTP MCP server (/api/mcp) for Chinese railway & power equipment sourcing, CRCC certificate verification, 40-standard crosswalks, and engineering BOM matching.","contact":{"email":"sales@chinarailgrid.com","url":"https://www.chinarailgrid.com/developers"}},"servers":[{"url":"https://www.chinarailgrid.com"}],"components":{"securitySchemes":{"BearerAuth":{"type":"http","scheme":"bearer","description":"API key prefixed with crg_live_ issued at https://www.chinarailgrid.com/developers"}}},"security":[{"BearerAuth":[]}],"paths":{"/api/v1/crcc/verify":{"get":{"summary":"Verify CRCC certificates (2 credits/call)","parameters":[{"name":"certNo","in":"query","schema":{"type":"string"}},{"name":"company","in":"query","schema":{"type":"string"}},{"name":"model","in":"query","schema":{"type":"string"}},{"name":"expiringWithinDays","in":"query","schema":{"type":"integer"}},{"name":"limit","in":"query","schema":{"type":"integer","maximum":20}}],"responses":{"200":{"description":"CRCC certificate verification snapshot"},"402":{"description":"Insufficient credits"}}}},"/api/v1/crcc/batch":{"post":{"summary":"Batch verify up to 50 suppliers/certs (2 credits/item, Starter+)","responses":{"200":{"description":"Batch verification results"}}}},"/api/v1/standards/crosswalk":{"post":{"summary":"Map international rail/power standards to Chinese equivalents (3 credits/call)","responses":{"200":{"description":"Crosswalk mapping & certified factories"}}}},"/api/v1/bom/match":{"post":{"summary":"Parse & match engineering BOM lines (5 credits rule / 15 credits AI)","responses":{"200":{"description":"Matched specs, categories & suppliers"}}}},"/api/v1/suppliers":{"get":{"summary":"Search sanitized factory directory (1 credit/call, max 20x10)","responses":{"200":{"description":"Paginated factory summaries"}}}},"/api/v1/suppliers/{slug}":{"get":{"summary":"Get sanitized factory profile detail (2 credits/call)","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Factory detail DTO"},"404":{"description":"Not found"}}}},"/api/v1/products":{"get":{"summary":"Search sanitized product catalog (1 credit/call, max 20x10)","responses":{"200":{"description":"Paginated product summaries"}}}},"/api/v1/products/{slug}":{"get":{"summary":"Get sanitized product specifications (2 credits/call)","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Product detail DTO"},"404":{"description":"Not found"}}}},"/api/v1/guides/search":{"get":{"summary":"Search 289 multilingual engineering selection guides (1 credit/call)","responses":{"200":{"description":"Matched engineering guides"}}}},"/api/v1/rfq":{"post":{"summary":"Validate (dryRun=true) or submit blind RFQ (0 credits)","parameters":[{"name":"Idempotency-Key","in":"header","schema":{"type":"string"}}],"responses":{"200":{"description":"Dry run or replayed quote"},"201":{"description":"Quote created"}}}},"/api/mcp":{"post":{"summary":"Stateless Streamable HTTP MCP JSON-RPC 2.0 endpoint (6 tools)","security":[],"responses":{"200":{"description":"JSON-RPC 2.0 response"}}}}}}