Api Endpoint

Saylor Innovations Media Crop-C

Crop-to-cover calculator - cover scale, scaled size and centered crop overflow for a target box

Open interactive test console

Offering

Provider
saylorinnovations.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://saylorinnovations.com/api/media/cover
MIME type
application/json
First seen
2026-10-16T01:51:51.176Z
Last seen
Tags
Media, cover, crop-cover, calculator, returning, aspect-ratio, resize, geometry

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.01 USDC
Atomic price: 10000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.01 USDC
Atomic price: 10000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.01 USDC
Atomic price: 10000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.01 USDC
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Payment option 5
10000 atomic units
Atomic price: 10000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "10000",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "10000",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "10000",
    "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "10000",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
    "amount": "10000",
    "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7"
  }
]

Observed health

Status
Healthy
Latest latency
210 ms
Average latency
419 ms
HTTP status
402
Last checked
Reachability
100% over 7 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "POST",
        "PUT",
        "PATCH",
        "DELETE",
        "HEAD"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "width": {
          "type": "string",
          "description": "required positive original width in pixels or units (query)"
        },
        "height": {
          "type": "string",
          "description": "required positive original height in pixels or units (query)"
        },
        "target_width": {
          "type": "string",
          "description": "required positive target width (query)"
        },
        "target_height": {
          "type": "string",
          "description": "required positive target height (query)"
        }
      },
      "required": [
        "width",
        "height",
        "target_width",
        "target_height"
      ]
    }
  },
  "required": [
    "type",
    "method",
    "queryParams"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "POST",
            "PUT",
            "PATCH",
            "DELETE",
            "HEAD"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "height": {
              "description": "required positive original height in pixels or units (query)",
              "type": "string"
            },
            "target_height": {
              "description": "required positive target height (query)",
              "type": "string"
            },
            "target_width": {
              "description": "required positive target width (query)",
              "type": "string"
            },
            "width": {
              "description": "required positive original width in pixels or units (query)",
              "type": "string"
            }
          },
          "required": [
            "width",
            "height",
            "target_width",
            "target_height"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "crop_left_right_each": {
              "description": "Crop left right each",
              "type": "number"
            },
            "crop_top_bottom_each": {
              "description": "Crop top bottom each",
              "type": "number"
            },
            "formula": {
              "description": "Formula used for the calculation",
              "type": "string"
            },
            "original_height": {
              "description": "Original height",
              "type": "number"
            },
            "original_width": {
              "description": "Original width",
              "type": "number"
            },
            "scale_factor": {
              "description": "Scale factor",
              "type": "number"
            },
            "scaled_height": {
              "description": "Scaled height",
              "type": "number"
            },
            "scaled_width": {
              "description": "Scaled width",
              "type": "number"
            },
            "scope_note": {
              "description": "What this data covers and what it leaves out",
              "type": "string"
            },
            "target_height": {
              "description": "Target height",
              "type": "number"
            },
            "target_width": {
              "description": "Target width",
              "type": "number"
            }
          },
          "required": [
            "original_width",
            "original_height",
            "target_width",
            "target_height",
            "scale_factor",
            "scope_note"
          ],
          "type": "object"
        },
        "type": {
          "const": "json",
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}