{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"0","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":null,"catalogType":"api","categories":["crypto-defi"],"dataPlatform":"uniswap","dataPlatformLogoUrl":"https://raw.githubusercontent.com/Uniswap/brand-assets/main/Uniswap%20Brand%20Assets/Uniswap_icon_pink.svg","dataPlatformTranslations":{"ar":"Uniswap","ja":"Uniswap","zh":"Uniswap"},"dataProduct":"liquidity","description":"Get Uniswap Decrease an LP position data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Uniswap, pass parameters such as chainId, nftTokenId, protocol, and retrieve structured data including business payload, chain identifier, returned from field, returned to field, and returned value field for market reference and account inspection, and integration reference.","descriptionTranslations":{"ar":"استخدم Uniswap تقليل مركز LP API عبر OpenAny، مع تقديم walletAddress, chainId, protocol بصيغة طلب POST الموثقة، لدعم مرجع السوق وفحص الحسابات. تتضمن صفحة التفاصيل قالب الطلب والمدخلات المدعومة ومرجع الاستجابة والسعر الحالي للتنفيذ المحدد؛ احتفظ بالمعرفات والحقول المتاحة معا عند مراجعة النتائج.","ja":"OpenAny から Uniswap LP ポジションを減少 API を利用し、POST リクエスト形式で walletAddress, chainId, protocol を指定して、市場参照と口座の確認に利用できます。詳細ページにはリクエスト例、対応入力、応答参照、選択した実装の現在の料金があり、結果を確認する際は識別子と利用可能なフィールドを関連付けて保持できます。","zh":"通过 OpenAny 使用 Uniswap 减少 LP 头寸 API，按所选实现的 POST 请求格式提供 walletAddress, chainId, protocol，用于市场参考和账户检查。详情页提供请求模板、支持的输入、响应参考及所选实现的当前价格；核对结果时，将返回标识与可用字段关联保留。"},"effectContentHtml":"","executionMode":"sync","id":"b4b72926-6f5c-4184-9345-bb3fd9883000","includedContentHtml":"","inputs":[{"description":"Optional attribution hint for AI-agent traffic; send it if an AI agent built or operates your integration. The value is a JSON object with up to three fields: `decision_origin` (required, exactly `autonomous` or `human_mediated`, case-sensitive), `integration_name` (optional string naming your integration, e.g. `my-trading-bot`), and `version` (optional string identifying your integration's version). Any other key is dropped, never rejected. The raw value must be at most 1024 bytes of printable US-ASCII (`0x20`-`0x7E`), so send non-ASCII text as JSON `\\u` escapes; `integration_name` and `version` are each limited to 256 UTF-16 code units and may not contain control characters, U+2028, U+2029, or U+FFFD. Send the header once: repeated header lines are joined with `, ` and the joined string is what gets parsed, so two complete objects fail as invalid JSON while a single object split across two lines still parses. The header is analytics-only and never affects the request: omitting it, sending it, or sending a value that fails these rules never changes the response status, body, or swap behavior. A value that fails to parse is dropped and reported by the `x-agent-info-status` response header. Never put a user ID, wallet address, email, session token, or API key in these fields.","location":"header","max_length":1024,"name":"x-agent-info","nullable":false,"required":false,"type":"string"},{"description":"Complete public Uniswap request body. Internal fields are prohibited. Source-only annotations are kept in the raw OpenAPI snapshot.","json_schema":{"description":"Complete public Uniswap request body. Internal fields are prohibited. Source-only annotations are kept in the raw OpenAPI snapshot.","properties":{"chainId":{"enum":[1,10,56,130,137,143,196,324,480,1868,4217,4326,4663,5042,8453,10143,42161,42220,43114,57073,59144,81457,99901,7777777,1301,84532,11155111],"type":"number"},"deadline":{"type":"integer"},"liquidityPercentageToDecrease":{"type":"integer"},"nftTokenId":{"type":"string"},"protocol":{"enum":["V2","V3","V4"],"type":"string"},"simulateTransaction":{"type":"boolean"},"slippageTolerance":{"type":"number"},"token0Address":{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"token1Address":{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"urgency":{"enum":["NORMAL","FAST","URGENT"],"type":"string"},"walletAddress":{"pattern":"^0x[0-9a-fA-F]{40}$","type":"string"},"withdrawAsWeth":{"type":"boolean"}},"required":["walletAddress","chainId","protocol","token0Address","token1Address","liquidityPercentageToDecrease"],"type":"object"},"location":"body","name":"body","nullable":false,"pointer":"","required":true,"type":"object"}],"logoUrl":"https://raw.githubusercontent.com/Uniswap/brand-assets/main/Uniswap%20Brand%20Assets/Uniswap_icon_pink.svg","method":"POST","name":"Uniswap Decrease an LP position API","nameTranslations":{"ar":"Uniswap تقليل مركز LP API","ja":"Uniswap LP ポジションを減少 API","zh":"Uniswap 减少 LP 头寸 API"},"overviewHtml":"\u003ch2\u003eUniswap Decrease an LP position API\u003c/h2\u003e\n\u003cp\u003eRetrieve decrease an LP position with the Uniswap API. Provide walletAddress in body, chainId in body, protocol in body, token0Address in body, token1Address in body. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003ebody: body\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003euniswap · Uniswap Decrease an LP position\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eFollow the selected implementation pricing, billing unit, quantity and charge rules\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eMarket reference and account inspection\u003c/strong\u003e: Keep market, asset and account identities distinct when interpreting records.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eIntegration reference\u003c/strong\u003e: Use the selected request format and keep source identifiers with the returned result.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eDocumented Response Fields\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edecrease.data\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eBusiness payload\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edecrease.chainId\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eChain identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edecrease.from\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned from field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edecrease.to\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned to field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edecrease.value\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned value field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003erequestId\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRequest identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etoken0.amount\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned amount field\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003etoken0.tokenAddress\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned token address field\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the JSON body and supported fields shown in the request template.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl \\\n  \u0026#39;https://api.openany.si/v1/agent-apis/uniswap/lp/decrease\u0026#39; \\\n  -X POST \\\n  -H \u0026#34;Authorization: Bearer $OPENANY_API_KEY\u0026#34; \\\n  -H \u0026#39;Content-Type: application/json\u0026#39; \\\n  --data-raw \u0026#39;{\n  \u0026#34;chainId\u0026#34;: 1,\n  \u0026#34;liquidityPercentageToDecrease\u0026#34;: 1,\n  \u0026#34;nftTokenId\u0026#34;: \u0026#34;1392418\u0026#34;,\n  \u0026#34;protocol\u0026#34;: \u0026#34;V3\u0026#34;,\n  \u0026#34;simulateTransaction\u0026#34;: false,\n  \u0026#34;token0Address\u0026#34;: \u0026#34;0x643c4e15d7d62ad0abec4a9bd4b001aa3ef52d66\u0026#34;,\n  \u0026#34;token1Address\u0026#34;: \u0026#34;0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2\u0026#34;,\n  \u0026#34;walletAddress\u0026#34;: \u0026#34;0xcc0ff6362ec07c899cdbe7dffaf27913c4e2c774\u0026#34;\n}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/b4b72926-6f5c-4184-9345-bb3fd9883000\"\u003ePublished Uniswap Decrease an LP position API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich inputs identify this request?\u003c/h3\u003e\n\u003cp\u003eProvide walletAddress in body (string); chainId in body (number); protocol in body (string); token0Address in body (string); token1Address in body (string); liquidityPercentageToDecrease in body (integer). Keep identifiers and URLs in the formats documented for this implementation.\u003c/p\u003e\n\u003ch3\u003eHow should I structure the JSON body?\u003c/h3\u003e\n\u003cp\u003eSend the body according to its root JSON schema. Do not add a second body wrapper around the documented properties, and preserve the declared types of nested values.\u003c/p\u003e\n\u003ch3\u003eHow should I map the returned fields?\u003c/h3\u003e\n\u003cp\u003eUse the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.\u003c/p\u003e\n\u003ch3\u003eCan I reuse request parameters from another endpoint?\u003c/h3\u003e\n\u003cp\u003eUse the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.\u003c/p\u003e\n\u003ch3\u003eWhich API key should I use?\u003c/h3\u003e\n\u003cp\u003eUse your OpenAny API key as Bearer authentication on the documented OpenAny route.\u003c/p\u003e\n\u003ch3\u003eWhere can I check the current request price?\u003c/h3\u003e\n\u003cp\u003eCheck the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/uniswap/uniswap-get-pool-state\"\u003eUniswap Get pool state\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/uniswap/uniswap-get-wallet-delegations\"\u003eUniswap Get wallet delegations\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/uniswap/uniswap-get-tokens\"\u003eUniswap Get tokens\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/uniswap/uniswap-decrease-an-lp-position","providerId":"uniswap","publicPath":"/v1/agent-apis/uniswap/lp/decrease","requestContentType":"application/json","revision":6,"samples":[{"http_status":200,"name":"Recorded success 2026-10-30 (historical)","request":{"body":{"chainId":1,"liquidityPercentageToDecrease":1,"nftTokenId":"1392418","protocol":"V3","simulateTransaction":false,"token0Address":"0x643c4e15d7d62ad0abec4a9bd4b001aa3ef52d66","token1Address":"0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2","walletAddress":"0xcc0ff6362ec07c899cdbe7dffaf27913c4e2c774"},"headers":{},"path":{},"query":{}},"response_body":{"decrease":{"chainId":1,"data":"0xac9650d8000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000000a40c49ccbe0000000000000000000000000000000000000000000000000000000000153f22000000000000000000000000000000000000000000000011a83d2faba87f069f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000016345785d89ffff000000000000000000000000000000000000000000000000000000006ae415ad000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000084fc6f78650000000000000000000000000000000000000000000000000000000000153f22000000000000000000000000cc0ff6362ec07c899cdbe7dffaf27913c4e2c77400000000000000000000000000000000ffffffffffffffffffffffffffffffff00000000000000000000000000000000ffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000","from":"0xCC0FF6362Ec07C899CDBE7dFFaF27913c4e2c774","to":"0xC36442b4a4522E871399CD717aBDD847Ab11FE88","value":"0x00"},"requestId":"a58c9872-897b-4209-99fb-f502df9cfc2c","token0":{"amount":"0","tokenAddress":"0x643C4E15d7d62Ad0aBeC4a9BD4b001aA3Ef52d66"},"token1":{"amount":"99999999999999999","tokenAddress":"0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"}}}],"seoDescription":"Get Uniswap Decrease an LP position data via REST or MCP powered by Uniswap. Pay per call, no subscription. Retrieve business payload and chain identifier.","updatedAt":"2026-12-03T02:49:49.287Z","usageInstructionsHtml":""}}