{
  "x402Version": 2,
  "id": 57009,
  "slug": "57009",
  "resource": "https://x402.presenceoperations.com/services/execution-cost",
  "description": "What it would cost to execute a given notional in a given market right now: size-weighted fill price, slippage from the touch in basis points, and whether the visible book can absorb the size at all.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x51edd63F074EaB0b1AB94c7BCf8b1e3aD43F1D2f",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "4800",
      "amountUsd": 0.0048,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "category": "transaction-simulation",
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "market": "BTC-PERP",
            "notional": 1000,
            "side": "BUY"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "absorbable": true,
            "averageFillPrice": null,
            "bookObservedAt": "",
            "detail": "",
            "filledNotional": 0,
            "levelsConsidered": 0,
            "market": "",
            "requestedNotional": 0,
            "side": "",
            "slippageBasisPoints": null,
            "touchPrice": null
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "market": {
                    "description": "the perpetual market to price, upper-cased before matching, for example BTC-PERP",
                    "pattern": "^[A-Z0-9]{1,16}-PERP$",
                    "type": "string"
                  },
                  "notional": {
                    "description": "the size to price, in quote currency, bounded so one paid call cannot become an unbounded read of the venue",
                    "maximum": 100000000,
                    "minimum": 1,
                    "type": "number"
                  },
                  "side": {
                    "default": "BUY",
                    "description": "which side of the book to walk; omitted means BUY, and anything outside BUY or SELL is refused rather than answered as the default, so a misspelled side is never charged for",
                    "enum": [
                      "BUY",
                      "SELL"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "market",
                  "notional"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "type": "object"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402.presenceoperations.com",
  "lastUpdated": "2026-10-07T03:27:31.087Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-07T03:27:30.63Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "category": "transaction-simulation",
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "market": "BTC-PERP",
              "notional": 1000,
              "side": "BUY"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "absorbable": true,
              "averageFillPrice": null,
              "bookObservedAt": "",
              "detail": "",
              "filledNotional": 0,
              "levelsConsidered": 0,
              "market": "",
              "requestedNotional": 0,
              "side": "",
              "slippageBasisPoints": null,
              "touchPrice": null
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "additionalProperties": false,
                  "properties": {
                    "market": {
                      "description": "the perpetual market to price, upper-cased before matching, for example BTC-PERP",
                      "pattern": "^[A-Z0-9]{1,16}-PERP$",
                      "type": "string"
                    },
                    "notional": {
                      "description": "the size to price, in quote currency, bounded so one paid call cannot become an unbounded read of the venue",
                      "maximum": 100000000,
                      "minimum": 1,
                      "type": "number"
                    },
                    "side": {
                      "default": "BUY",
                      "description": "which side of the book to walk; omitted means BUY, and anything outside BUY or SELL is refused rather than answered as the default, so a misspelled side is never charged for",
                      "enum": [
                        "BUY",
                        "SELL"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "market",
                    "notional"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "type": "object"
            }
          },
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.presenceoperations.com",
    "manifest_name": "x402.presenceoperations.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {}
}