Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request POST \
--url https://api.aisa.one/apis/v1/polymarket/deposit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839"
}'curl --request POST \
--url https://api.aisa.one/apis/v1/polymarket/deposit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839"
}
'import requests
url = "https://api.aisa.one/apis/v1/polymarket/deposit"
payload = { "address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839'})
};
fetch('https://api.aisa.one/apis/v1/polymarket/deposit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/polymarket/deposit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'address' => '0x56687bf447db6ffa42ffe2204a05edaa20f55839'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/polymarket/deposit"
payload := strings.NewReader("{\n \"address\": \"0x56687bf447db6ffa42ffe2204a05edaa20f55839\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/polymarket/deposit")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"address\": \"0x56687bf447db6ffa42ffe2204a05edaa20f55839\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/polymarket/deposit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"address\": \"0x56687bf447db6ffa42ffe2204a05edaa20f55839\"\n}"
response = http.request(request)
puts response.read_body{
"address": {
"evm": "0x23566f8b2E82aDfCf01846E54899d110e97AC053",
"svm": "CrvTBvzryYxBHbWu2TiQpcqD5M7Le7iBKzVmEj3f36Jb",
"btc": "bc1q8eau83qffxcj8ht4hsjdza3lha9r3egfqysj3g",
"tron": "<string>"
},
"note": "Only certain chains and tokens are supported. See /supported-assets for details."
}Bridge
Create deposit addresses
Create deposit addresses for bridging assets into Polymarket.
<!-- aisa-pricing:start -->
Published reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ.
<!-- aisa-pricing:end -->
POST
https://api.aisa.one
/
apis
/
v1
/
polymarket
/
deposit
Reference example
# Fixed reference example. Playground inputs do not update this sample.
curl --request POST \
--url https://api.aisa.one/apis/v1/polymarket/deposit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839"
}'curl --request POST \
--url https://api.aisa.one/apis/v1/polymarket/deposit \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839"
}
'import requests
url = "https://api.aisa.one/apis/v1/polymarket/deposit"
payload = { "address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({address: '0x56687bf447db6ffa42ffe2204a05edaa20f55839'})
};
fetch('https://api.aisa.one/apis/v1/polymarket/deposit', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/polymarket/deposit",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'address' => '0x56687bf447db6ffa42ffe2204a05edaa20f55839'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/polymarket/deposit"
payload := strings.NewReader("{\n \"address\": \"0x56687bf447db6ffa42ffe2204a05edaa20f55839\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/polymarket/deposit")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"address\": \"0x56687bf447db6ffa42ffe2204a05edaa20f55839\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/polymarket/deposit")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"address\": \"0x56687bf447db6ffa42ffe2204a05edaa20f55839\"\n}"
response = http.request(request)
puts response.read_body{
"address": {
"evm": "0x23566f8b2E82aDfCf01846E54899d110e97AC053",
"svm": "CrvTBvzryYxBHbWu2TiQpcqD5M7Le7iBKzVmEj3f36Jb",
"btc": "bc1q8eau83qffxcj8ht4hsjdza3lha9r3egfqysj3g",
"tron": "<string>"
},
"note": "Only certain chains and tokens are supported. See /supported-assets for details."
}Request contract
- Method and path: POST /apis/v1/polymarket/deposit
- Request URL template: https://api.aisa.one/apis/v1/polymarket/deposit
- X-Builder-Code: header; optional
- Runtime facts: a22ef60cc6dc19c564ea7cc9b385d87a61bdb3cb13e168918fa7d5ae825d794e
{
"operationId": "any_polymarket_bridge_apis_v1_polymarket_deposit",
"method": "POST",
"path": "/apis/v1/polymarket/deposit",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"name": "X-Builder-Code",
"in": "header",
"required": false,
"description": "Optional builder code (bytes32 hex) attributing this request to your integration so transfer issues can be traced to your app. Omitting it still succeeds but returns a `missing_builder_code` warning; a malformed code returns 400. Get your code at https://polymarket.com/settings?tab=builder\n",
"schema": {
"type": "string",
"pattern": "^0x[a-fA-F0-9]{64}$",
"example": "0x00000000000000000000000000000000000000000000000000000000abcd1234"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"address"
],
"properties": {
"address": {
"type": "string",
"description": "Ethereum address (0x-prefixed, 40 hex chars)",
"pattern": "^0x[a-fA-F0-9]{40}$",
"example": "0x56687bf447db6ffa42ffe2204a05edaa20f55839"
}
}
},
"example": {
"address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839"
}
}
}
},
"x-aisa-pricing": {
"cost_contract": "fixed_success",
"customer_pricing": "fixed_success",
"default_request_estimate_usd": 0.012,
"estimate_source": "profile_seed",
"evidence_source": "request_snapshot"
},
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0.012 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.- Default request reference estimate (USD): 0.012
- Cost contract: fixed_success
- Settlement evidence source: request_snapshot
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Optional builder code (bytes32 hex) attributing this request to your integration so transfer issues can be traced to your app. Omitting it still succeeds but returns a missing_builder_code warning; a malformed code returns 400. Get your code at https://polymarket.com/settings?tab=builder
Pattern:
^0x[a-fA-F0-9]{64}$Example:
"0x00000000000000000000000000000000000000000000000000000000abcd1234"
Body
application/json
Ethereum address (0x-prefixed, 40 hex chars)
Pattern:
^0x[a-fA-F0-9]{40}$Example:
"0x56687bf447db6ffa42ffe2204a05edaa20f55839"