compsniper-com · Schema

ShippingRateRequest

CompanyAPIMarketplaceE-commerceDataCollectibles

Properties

Name Type Description
ebaySite string
shipFrom object
shipTo object
package object
contents object
View JSON Schema on GitHub

JSON Schema

compsniper-com-shipping-rate-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/compsniper-com/json-schema/compsniper-com-shipping-rate-request-schema.json",
  "title": "ShippingRateRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/compsniper-com-openapi.json#/components/schemas/ShippingRateRequest",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "shipFrom",
    "shipTo",
    "package"
  ],
  "properties": {
    "ebaySite": {
      "type": "string",
      "enum": [
        "ebay.com"
      ],
      "default": "ebay.com"
    },
    "shipFrom": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "postalCode"
      ],
      "properties": {
        "countryCode": {
          "type": "string",
          "enum": [
            "US"
          ],
          "default": "US"
        },
        "postalCode": {
          "type": "string",
          "pattern": "^[0-9]{5}(-[0-9]{4})?$"
        }
      }
    },
    "shipTo": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "postalCode"
      ],
      "properties": {
        "countryCode": {
          "type": "string",
          "enum": [
            "US"
          ],
          "default": "US"
        },
        "postalCode": {
          "type": "string",
          "pattern": "^[0-9]{5}(-[0-9]{4})?$"
        }
      }
    },
    "package": {
      "type": "object",
      "additionalProperties": false,
      "required": [
        "weight",
        "dimensions"
      ],
      "properties": {
        "type": {
          "type": "string",
          "default": "custom",
          "enum": [
            "custom",
            "usps_flat_rate_envelope",
            "usps_padded_flat_rate_envelope",
            "usps_legal_flat_rate_envelope",
            "usps_small_flat_rate_box",
            "usps_medium_flat_rate_box",
            "usps_large_flat_rate_box",
            "usps_express_flat_rate_envelope",
            "fedex_one_rate_envelope",
            "fedex_one_rate_pak",
            "fedex_one_rate_extra_small_box",
            "fedex_one_rate_small_box",
            "fedex_one_rate_medium_box",
            "fedex_one_rate_large_box",
            "fedex_one_rate_extra_large_box",
            "fedex_one_rate_tube"
          ],
          "description": "Select custom unless the shipment will use the exact named carrier packaging."
        },
        "weight": {
          "oneOf": [
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "value",
                "unit"
              ],
              "properties": {
                "value": {
                  "type": "number",
                  "exclusiveMinimum": true,
                  "minimum": 0,
                  "maximum": 150
                },
                "unit": {
                  "type": "string",
                  "enum": [
                    "lb"
                  ]
                }
              }
            },
            {
              "type": "object",
              "additionalProperties": false,
              "required": [
                "value",
                "unit"
              ],
              "properties": {
                "value": {
                  "type": "number",
                  "exclusiveMinimum": true,
                  "minimum": 0,
                  "maximum": 2400
                },
                "unit": {
                  "type": "string",
                  "enum": [
                    "oz"
                  ]
                }
              }
            }
          ]
        },
        "dimensions": {
          "type": "object",
          "additionalProperties": false,
          "required": [
            "length",
            "width",
            "height",
            "unit"
          ],
          "properties": {
            "length": {
              "type": "number",
              "exclusiveMinimum": true,
              "minimum": 0,
              "maximum": 120
            },
            "width": {
              "type": "number",
              "exclusiveMinimum": true,
              "minimum": 0,
              "maximum": 120
            },
            "height": {
              "type": "number",
              "exclusiveMinimum": true,
              "minimum": 0,
              "maximum": 120
            },
            "unit": {
              "type": "string",
              "enum": [
                "in"
              ]
            }
          }
        },
        "irregular": {
          "type": "boolean",
          "default": false
        }
      }
    },
    "contents": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "mediaMailEligible": {
          "type": "boolean",
          "default": false,
          "description": "Set true only when the contents qualify under USPS Media Mail standards."
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/compsniper-com-shipping-rate-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.