{"uid":"cap_MVG3Va7QdvuzacduXlmEY","slug":"ozmium-agent-api-aerodrome-vamm-oz-usdc-add-liquidity-6e09e92f","name":"Ozmium Agent API – Aerodrome vAMM OZ/USDC Add Liquidity","description":"Aerodrome vAMM OZ/USDC addLiquidity calldata, with the ERC-20 approve steps for BOTH sides prepended when the live allowance is short. POST /v1/tx/lp/aero/add { owner, ozAmount, usdcAmount, slippagePct? }. UNITS: ozAmount and usdcAmount are HUMAN DECIMAL STRINGS (e.g. \"1133780\" OZ, \"0.75\" USDC), NOT atomic - the LP routes are the exception on this API, every other builder takes atomic. Full details: GET /v1.","url":"https://ozmium.org/v1/tx/lp/aero/add","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"steps":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string"},"data":{"type":"string"},"value":{"type":"string"}}}},"network":{"type":"string"}}}}}}},"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_vpvh4Fp6dOHfJLmy93QJL","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":"Generates Aerodrome vAMM OZ/USDC addLiquidity calldata, prepending ERC-20 approve steps for both tokens when live allowances are insufficient","exampleAgentPrompt":"Build me the full transaction steps to add 1133780 OZ and 0.75 USDC as liquidity to the Aerodrome vAMM OZ/USDC pool from my wallet 0xYourAddress, with 0.5% slippage — include any approve steps needed if my allowances are short.","exampleUseCases":[{"title":"First-time LP deposit with approvals","prompt":"I want to add liquidity to the Aerodrome OZ/USDC pool for the first time — my wallet is 0xAbC123, I want to deposit 500000 OZ and 0.40 USDC, and I've never approved either token so I'll need the approve steps too. Use 1% slippage."},{"title":"Rebalancing LP position after price move","prompt":"Help me top up my Aerodrome OZ/USDC liquidity position — owner is 0xDef456, I want to add another 250000 OZ and 0.20 USDC with 0.3% slippage. My USDC allowance should already be set but OZ might need an approve."},{"title":"Bot automating recurring liquidity adds","prompt":"I'm running an automated strategy that adds OZ/USDC liquidity on Aerodrome every week — generate the calldata steps for owner 0xGhi789, depositing 2000000 OZ and 1.50 USDC with 0.5% slippage so my bot can sign and broadcast them."}],"resultDescription":"An ordered array of transaction steps (to, data, value) ready to sign and submit on Base — typically one or two ERC-20 approve calls (OZ and USDC) when allowances are insufficient, followed by the Aerodrome addLiquidity calldata — plus the network identifier confirming Base chain.","failureModes":["Invalid or missing owner address returns a 4xx error","ozAmount or usdcAmount provided as atomic integers instead of human decimal strings causes incorrect encoding","Slippage too tight against live pool price results in likely on-chain revert","Aerodrome pool contract unavailable or paused on Base causes calldata generation failure","Allowance check fails if the RPC node is degraded, potentially returning incomplete steps"],"whenToPreferThis":"Use this endpoint when an agent needs ready-to-sign Aerodrome vAMM OZ/USDC liquidity-add calldata on Base, especially when ERC-20 allowances may be missing — it handles both approve steps and the LP deposit in a single call. Prefer it over generic Aerodrome SDKs when working within the Ozmium ecosystem and using human-readable decimal amounts rather than atomic units.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:51:55.752Z","isFirstParty":false}