Uniswap · Example Payload

Uniswap Create Lp Position Example

BlockchainCryptocurrencyDeFiDecentralized ExchangeLiquiditySwaps

Uniswap Create Lp Position Example is an example object payload from Uniswap, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "POST",
    "url": "https://trade-api.gateway.uniswap.org/v1/lp/create",
    "headers": {
      "Content-Type": "application/json",
      "x-api-key": "YOUR_API_KEY"
    },
    "body": {
      "chainId": 1,
      "walletAddress": "0x742d35Cc6634C0532925a3b844Bc454e4438f44e",
      "token0": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2",
      "token1": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
      "fee": 500,
      "tickLower": -887272,
      "tickUpper": 887272,
      "amount0Desired": "1000000000000000000",
      "amount1Desired": "2500000000",
      "amount0Min": "990000000000000000",
      "amount1Min": "2475000000",
      "deadline": 1745000000,
      "protocol": "V3"
    }
  },
  "response": {
    "status": 200,
    "body": {
      "create": {
        "to": "0xC36442b4a4522E871399CD717aBDD847Ab11FE88",
        "data": "0x88316456...",
        "value": "0x0",
        "gasLimit": "350000",
        "chainId": 1
      },
      "approve0": null,
      "approve1": null
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/uniswap-create-lp-position-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.