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": {
"btc": "bc1q8eau83qffxcj8ht4hsjdza3lha9r3egfqysj3g",
"evm": "0x23566f8b2E82aDfCf01846E54899d110e97AC053",
"svm": "CrvTBvzryYxBHbWu2TiQpcqD5M7Le7iBKzVmEj3f36Jb",
"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.
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": {
"btc": "bc1q8eau83qffxcj8ht4hsjdza3lha9r3egfqysj3g",
"evm": "0x23566f8b2E82aDfCf01846E54899d110e97AC053",
"svm": "CrvTBvzryYxBHbWu2TiQpcqD5M7Le7iBKzVmEj3f36Jb",
"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
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/polymarket/deposit - X-Builder-Code: header; optional
{
"operationId": "any_polymarket_bridge_apis_v1_polymarket_deposit",
"method": "POST",
"path": "/apis/v1/polymarket/deposit",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"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",
"in": "header",
"name": "X-Builder-Code",
"required": false,
"schema": {
"example": "0x00000000000000000000000000000000000000000000000000000000abcd1234",
"pattern": "^0x[a-fA-F0-9]{64}$",
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"example": {
"address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839"
},
"schema": {
"properties": {
"address": {
"description": "Ethereum address (0x-prefixed, 40 hex chars)",
"example": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
"pattern": "^0x[a-fA-F0-9]{40}$",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0.012 USD per successful request. Your account price may differ; use a request quote where supported.Authorizations
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