SoldStack · Schema

ValueRequest

MarketplaceFashionResaleData

Properties

Name Type Description
items object The donation list: 1 to 100 items, each one lookup. Send exactly one of items or listing.
listing object Raw listing text (1 to 4,000 characters) instead of items: an auction or lot description. It is read into items (at most 100) and each item is one lookup; the read itself costs nothing. Text with one
unit_count object Only with listing: how many pieces the lot has (1 to 10,000), for a lot whose text gives no count (response.needs_unit_count). Split across the items with no count of their own.
source string Marketplace: poshmark (US, USD) or poshmark_ca (Poshmark Canada, CAD).
days object Only sales from the last N days (1-3650); 365 is the last 12 months. Default: brand and description values prefer the last 12 months when they have enough sales, and archive values use every sale. On
sold_after object Only sales sold on or after this date (YYYY-MM-DD). With days, the later start wins.
sold_before object Only sales sold on or before this date (YYYY-MM-DD).
View JSON Schema on GitHub

JSON Schema

soldstack-dev-value-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/soldstack-dev/json-schema/soldstack-dev-value-request-schema.json",
  "title": "ValueRequest",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/soldstack-dev-openapi.json#/components/schemas/ValueRequest",
  "properties": {
    "items": {
      "anyOf": [
        {
          "items": {
            "$ref": "#/$defs/ValueItemIn"
          },
          "type": "array",
          "maxItems": 100,
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Items",
      "description": "The donation list: 1 to 100 items, each one lookup. Send exactly one of items or listing."
    },
    "listing": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 4000,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Listing",
      "description": "Raw listing text (1 to 4,000 characters) instead of items: an auction or lot description. It is read into items (at most 100) and each item is one lookup; the read itself costs nothing. Text with one item per line is read by rules, not by the model (extraction.method rules)."
    },
    "unit_count": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 10000.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Unit Count",
      "description": "Only with listing: how many pieces the lot has (1 to 10,000), for a lot whose text gives no count (response.needs_unit_count). Split across the items with no count of their own."
    },
    "source": {
      "type": "string",
      "enum": [
        "poshmark",
        "poshmark_ca"
      ],
      "title": "Source",
      "default": "poshmark",
      "description": "Marketplace: poshmark (US, USD) or poshmark_ca (Poshmark Canada, CAD)."
    },
    "days": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 3650.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Days",
      "description": "Only sales from the last N days (1-3650); 365 is the last 12 months. Default: brand and description values prefer the last 12 months when they have enough sales, and archive values use every sale. On Free and Starter (keys issued from Oct 25 2026) every value uses only the last 90 days, whatever you send; Growth and Business, and earlier keys, use the full archive."
    },
    "sold_after": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sold After",
      "description": "Only sales sold on or after this date (YYYY-MM-DD). With days, the later start wins."
    },
    "sold_before": {
      "anyOf": [
        {
          "type": "string",
          "format": "date"
        },
        {
          "type": "null"
        }
      ],
      "title": "Sold Before",
      "description": "Only sales sold on or before this date (YYYY-MM-DD)."
    }
  },
  "type": "object",
  "$defs": {
    "ValueItemIn": {
      "properties": {
        "description": {
          "type": "string",
          "maxLength": 200,
          "minLength": 2,
          "title": "Description",
          "description": "What the item is, as the donor would say it, e.g. 'womens handbag'"
        },
        "category": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 60
            },
            {
              "type": "null"
            }
          ],
          "title": "Category",
          "description": "Optional, e.g. handbag, suit or pants; read from the description when missing"
        },
        "brand": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 60
            },
            {
              "type": "null"
            }
          ],
          "title": "Brand",
          "description": "Optional. With a brand, the item is searched and cleaned like /v1/sold"
        },
        "department": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 30
            },
            {
              "type": "null"
            }
          ],
          "title": "Department",
          "description": "Optional: women, men, girls, boys, baby, kids or unisex; read from the description when missing"
        },
        "size": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 30
            },
            {
              "type": "null"
            }
          ],
          "title": "Size",
          "description": "Optional; a kids' size such as 4T marks it as kids'"
        },
        "kids_age": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "baby",
                "toddler",
                "big_kids"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Kids Age",
          "description": "Optional, for kids' items: value from baby (0-24 months), toddler (2T-5T) or big_kids (4/5 and up) sizes only. Marks the item as kids' when no department is given"
        },
        "condition": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 40
            },
            {
              "type": "null"
            }
          ],
          "title": "Condition",
          "description": "new_with_tags, used_like_new, used_excellent, used_good, used_fair, a plain word (like new, good, fair), or new or used. Default used"
        },
        "quantity": {
          "type": "integer",
          "maximum": 1000.0,
          "minimum": 1.0,
          "title": "Quantity",
          "description": "How many of this item; total is value times quantity",
          "default": 1
        }
      },
      "type": "object",
      "required": [
        "description"
      ],
      "title": "ValueItemIn"
    }
  }
}

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/soldstack-dev-value-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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