{"uid":"cap__phP8NtIrJAIMAGWviJ7B","slug":"remix-solidity-compiler-a449b0da","name":"Remix Solidity Compiler","description":"Compile Solidity contracts with the Remix compiler, supporting multiple files, custom versions, and optimization settings","url":"https://api.remix.live/mcp/x402-http/compile","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sources":{"type":"object","description":"Map of filename to source code","additionalProperties":{"type":"object","required":["content"],"properties":{"content":{"type":"string"}}}},"version":{"type":"string","description":"Solidity compiler version"},"settings":{"type":"object","description":"Compiler settings"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jedL5kbIdD11UZVgI80yW","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compiles Solidity smart contract source files using the Remix compiler and returns compilation artifacts","exampleAgentPrompt":"Compile this Solidity contract for me using the Remix compiler with version 0.8.20 — here's the source: pragma solidity ^0.8.20; contract MyToken { string public name = 'MyToken'; }","exampleUseCases":null,"resultDescription":"Returns compiled contract artifacts including ABI, bytecode, and any compilation errors or warnings for each source file provided","failureModes":["Invalid Solidity syntax returns compilation errors with line numbers and messages","Unsupported or unavailable compiler version returns an error","Malformed input schema (missing 'content' field in sources map) returns a 400-level error","Compiler settings incompatible with the specified Solidity version cause compilation failure","Import resolution failures for contracts referencing external files not included in sources"],"whenToPreferThis":"Use this endpoint when you need to compile Solidity smart contracts via the cloud-hosted Remix compiler without setting up a local toolchain. Ideal for agents that need bytecode and ABI on demand, or want to validate contract syntax using a trusted Remix-backed compiler with specific version control.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:38:45.713Z","isFirstParty":false}