cURL
curl --request GET \
--url https://testnet.edel-api.xyz/v2/markets/upcomingimport requests
url = "https://testnet.edel-api.xyz/v2/markets/upcoming"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://testnet.edel-api.xyz/v2/markets/upcoming', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));use reqwest::blocking::Client;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let response = Client::new()
.get("https://testnet.edel-api.xyz/v2/markets/upcoming")
.send()?;
println!("{} {}", response.status(), response.text()?);
Ok(())
}
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://testnet.edel-api.xyz/v2/markets/upcoming"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://testnet.edel-api.xyz/v2/markets/upcoming")
.asString();[
{
"id": "<string>",
"symbol": "<string>",
"base": "<string>",
"quote": "<string>",
"baseId": "<string>",
"quoteId": "<string>",
"settle": null,
"settleId": null,
"type": "spot",
"spot": true,
"margin": false,
"swap": false,
"future": false,
"option": false,
"active": false,
"contract": false,
"linear": null,
"inverse": null,
"contractSize": null,
"maker": null,
"taker": null,
"precision": {
"amount": null,
"price": null
},
"limits": {
"leverage": {
"min": null,
"max": null
},
"amount": {
"min": null,
"max": null
},
"price": {
"min": null,
"max": null
},
"cost": {
"min": null,
"max": null
}
},
"info": {
"listingState": "coming_soon",
"kind": "spot",
"displayName": "<string>",
"logoUrl": "<string>",
"displayOrder": 0
},
"expiry": 1,
"expiryDatetime": "<string>",
"strike": 123,
"optionType": "<string>",
"created": 1
}
]{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}Markets
List upcoming markets
Returns catalog-only coming soon markets in display order as unified market objects with active false and info.listingState coming_soon. Returns an empty list when none are configured. Existing market list routes never include these rows. While the spot.upcoming_markets feature is off the route answers 403 NotSupported with featureFlag spot.upcoming_markets.
Method and path: GET /v2/markets/upcoming
Authentication: none.
Request schema: none.
Response schema: V2UpcomingMarketsResponse.
Error envelope: V2ErrorResponse (contains ExternalRestError external-rest-error/v1 as info).
GET
/
v2
/
markets
/
upcoming
cURL
curl --request GET \
--url https://testnet.edel-api.xyz/v2/markets/upcomingimport requests
url = "https://testnet.edel-api.xyz/v2/markets/upcoming"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://testnet.edel-api.xyz/v2/markets/upcoming', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));use reqwest::blocking::Client;
fn main() -> Result<(), Box<dyn std::error::Error>> {
let response = Client::new()
.get("https://testnet.edel-api.xyz/v2/markets/upcoming")
.send()?;
println!("{} {}", response.status(), response.text()?);
Ok(())
}
package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://testnet.edel-api.xyz/v2/markets/upcoming"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://testnet.edel-api.xyz/v2/markets/upcoming")
.asString();[
{
"id": "<string>",
"symbol": "<string>",
"base": "<string>",
"quote": "<string>",
"baseId": "<string>",
"quoteId": "<string>",
"settle": null,
"settleId": null,
"type": "spot",
"spot": true,
"margin": false,
"swap": false,
"future": false,
"option": false,
"active": false,
"contract": false,
"linear": null,
"inverse": null,
"contractSize": null,
"maker": null,
"taker": null,
"precision": {
"amount": null,
"price": null
},
"limits": {
"leverage": {
"min": null,
"max": null
},
"amount": {
"min": null,
"max": null
},
"price": {
"min": null,
"max": null
},
"cost": {
"min": null,
"max": null
}
},
"info": {
"listingState": "coming_soon",
"kind": "spot",
"displayName": "<string>",
"logoUrl": "<string>",
"displayOrder": 0
},
"expiry": 1,
"expiryDatetime": "<string>",
"strike": 123,
"optionType": "<string>",
"created": 1
}
]{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}{
"name": "AccountNotEnabled",
"message": "<string>",
"code": "promo_code_unknown",
"retryable": true,
"timestamp": 1,
"datetime": "<string>",
"info": {
"version": "external-rest-error/v1",
"requestId": "<string>",
"code": "promo_code_unknown",
"safeMessage": "<string>",
"retryable": true,
"recoveryActions": [
"none"
],
"occurredAtEpochMs": 1,
"featureFlag": "<string>",
"orderOutcome": "not_submitted",
"clientOrderIds": [
"<string>"
],
"reconciliation": "<string>",
"realtimeTicketFailure": "invalid",
"apiKeyRejection": "malformed",
"agentRefusal": "agents_not_admitted_in_environment",
"rejectionGuard": "custodial_signer_environment_not_service_held",
"withdrawalFailure": "feature_disabled",
"feeShareAcceptRefusal": "challenge_missing",
"dependency": "dfns",
"squidRouteRefusal": "route_not_found",
"positionSnapshotRefusal": "position_projection_behind_live",
"setupKeyRefusal": "setup_key_refused",
"info": {
"group": "sub_accounts",
"level": "read"
},
"rateLimit": {
"limiter": "trader",
"requestsPerWindow": 123,
"windowMs": 123
},
"rule": "amount_step",
"field": "<string>",
"limit": "<string>",
"nearestValid": "<string>",
"minCost": "<string>",
"free": "<string>",
"price": "<string>",
"cost": "<string>",
"minAmount": "<string>"
}
}Response
Success
- Option 1
- Option 2