{
  "x402Version": 2,
  "id": 38405,
  "slug": "38405",
  "resource": "https://predix-agent-api.fly.dev/v1/markets/:id/mid",
  "description": "Space milestone probabilities — discover Predix event markets on Base Sepolia and place tiny testnet orders.",
  "type": "http",
  "serviceName": "Space Markets Predix",
  "resourceType": "Market Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:84532",
      "payTo": "0x5799fe0715C04f479f7f80Fbe6C4CFb384A8E0e9",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "asOf": {
            "type": "string"
          },
          "displayTitle": {
            "type": "string"
          },
          "marketId": {
            "type": "string"
          },
          "midCents": {
            "type": "integer"
          },
          "network": {
            "type": "string"
          }
        },
        "required": [
          "marketId",
          "displayTitle",
          "midCents",
          "asOf",
          "network"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "pathParams": {
            "id": "moon-race-us-china-test"
          },
          "queryParams": {},
          "type": "http"
        },
        "output": {
          "example": {
            "asOf": "2026-09-16T00:00:00.000Z",
            "displayTitle": "The Moon Race",
            "marketId": "moon-race-us-china-test",
            "midCents": 5000,
            "network": "base-sepolia"
          },
          "type": "json"
        }
      },
      "routeTemplate": "/v1/markets/:id/mid",
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "pathParams": {
                "properties": {
                  "id": {
                    "description": "Predix on-chain market id",
                    "type": "string"
                  }
                },
                "required": [
                  "id"
                ],
                "type": "object"
              },
              "queryParams": {
                "properties": {},
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "asOf": {
                    "type": "string"
                  },
                  "displayTitle": {
                    "type": "string"
                  },
                  "marketId": {
                    "type": "string"
                  },
                  "midCents": {
                    "type": "integer"
                  },
                  "network": {
                    "type": "string"
                  }
                },
                "required": [
                  "marketId",
                  "displayTitle",
                  "midCents",
                  "asOf",
                  "network"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "predix",
    "space",
    "prediction-market",
    "base-sepolia",
    "bazaar"
  ],
  "sourceHost": "predix-agent-api.fly.dev",
  "lastUpdated": "2026-09-25T21:50:40.458Z",
  "quality": {
    "calls30d": 70,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-25T21:50:46.22Z"
  },
  "metadata": {
    "serviceName": "Space Markets Predix",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "pathParams": {
              "id": "moon-race-us-china-test"
            },
            "queryParams": {},
            "type": "http"
          },
          "output": {
            "example": {
              "asOf": "2026-09-16T00:00:00.000Z",
              "displayTitle": "The Moon Race",
              "marketId": "moon-race-us-china-test",
              "midCents": 5000,
              "network": "base-sepolia"
            },
            "type": "json"
          }
        },
        "routeTemplate": "/v1/markets/:id/mid",
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "pathParams": {
                  "properties": {
                    "id": {
                      "description": "Predix on-chain market id",
                      "type": "string"
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "type": "object"
                },
                "queryParams": {
                  "properties": {},
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "asOf": {
                      "type": "string"
                    },
                    "displayTitle": {
                      "type": "string"
                    },
                    "marketId": {
                      "type": "string"
                    },
                    "midCents": {
                      "type": "integer"
                    },
                    "network": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "marketId",
                    "displayTitle",
                    "midCents",
                    "asOf",
                    "network"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "predix-agent-api.fly.dev",
    "manifest_name": "predix-agent-api.fly.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "asOf": "string",
      "displayTitle": "string",
      "marketId": "string",
      "midCents": 0,
      "network": "string"
    },
    "type": "string"
  }
}