{"uid":"cap_P61xje7-e1RMQEJwGLRXz","slug":"bismuth-conversion-api-c0c16d02","name":"Bismuth Conversion API","description":"File conversion: image resize/reformat, CSV→JSON, HTML→PDF, DOCX→PDF. Part of the Bismuth utility API suite for AI agents.","url":"https://x402-conversion-api-production.up.railway.app/convert?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"oneOf":[{"type":"object","title":"ImageConvertRequest","required":["type","url"],"properties":{"url":{"type":"string","title":"Url","format":"uri","maxLength":2048,"minLength":1},"type":{"type":"string","const":"image","title":"Type"},"width":{"anyOf":[{"type":"integer","maximum":8000,"minimum":1},{"type":"null"}],"title":"Width"},"format":{"enum":["jpeg","png","webp","gif"],"type":"string","title":"Format","default":"jpeg"},"height":{"anyOf":[{"type":"integer","maximum":8000,"minimum":1},{"type":"null"}],"title":"Height"}}},{"type":"object","title":"CsvConvertRequest","required":["type","url"],"properties":{"url":{"type":"string","title":"Url","format":"uri","maxLength":2048,"minLength":1},"type":{"type":"string","const":"csv","title":"Type"}}},{"type":"object","title":"HtmlConvertRequest","required":["type","url"],"properties":{"url":{"type":"string","title":"Url","format":"uri","maxLength":2048,"minLength":1},"type":{"type":"string","const":"html_pdf","title":"Type"}}},{"type":"object","title":"DocxConvertRequest","required":["type","url"],"properties":{"url":{"type":"string","title":"Url","format":"uri","maxLength":2048,"minLength":1},"type":{"type":"string","const":"docx","title":"Type"}}}],"title":"Body","discriminator":{"mapping":{"csv":"#/components/schemas/CsvConvertRequest","docx":"#/components/schemas/DocxConvertRequest","image":"#/components/schemas/ImageConvertRequest","html_pdf":"#/components/schemas/HtmlConvertRequest"},"propertyName":"type"}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nEvv4nol76CuoLp6W09wC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts files between formats: resizes/reformats images, converts CSV to JSON, HTML to PDF, and DOCX to PDF.","exampleAgentPrompt":"Can you convert this Word document into a PDF and also resize my product banner image from PNG to JPEG at 800x600 pixels?","exampleUseCases":[{"title":"Spreadsheet data pipeline prep","prompt":"I have a CSV export from our database — can you convert it to JSON so our backend can ingest it directly?"},{"title":"Printable report from web content","prompt":"Take this HTML report I've drafted and convert it into a PDF I can send to the client."},{"title":"E-commerce product image resizing","prompt":"Resize this product photo to 600x600 pixels and reformat it from PNG to JPEG so it loads faster on our store."}],"resultDescription":"Returns the converted file in the requested output format — a resized/reformatted image binary, a JSON object parsed from CSV, or a PDF document generated from HTML or DOCX input.","failureModes":["Unsupported input format returns an error indicating the format is not accepted","Malformed or corrupt file may cause a processing error","Image resize with invalid dimensions returns a validation error","File size exceeding limits may be rejected","Network timeout on large file uploads"],"whenToPreferThis":"Choose this endpoint when you need lightweight, pay-per-call file conversion without managing your own conversion infrastructure — especially useful in agent pipelines that need to normalize data formats (CSV→JSON) or produce printable documents (HTML/DOCX→PDF) on the fly. At $0.02 per call it is cost-effective for low-to-medium volume automated workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-01T06:30:43.846Z","isFirstParty":false,"canonicalSlug":"bismuth-conversion-api-c0c16d02"}