Within Sizes API

Size conversion from named charts.

GitHub OpenAPI

Operations 1

GET /sizes/convert A size in every other system #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/shopwithin-co:shopwithin-co-sizes-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

shopwithin-co-sizes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Shopwithin Co Sizes API
  version: 0.3.1
  contact:
    name: within
    url: https://shopwithin.co/contact
    email: hello@shopwithin.co
  termsOfService: https://shopwithin.co/terms
  x-privacy-policy: https://shopwithin.co/privacy
  description: 'Operations tagged sizes across 2 of this provider''s published API definitions: openapi.json, shopwithin-co-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://shopwithin.co/api/v1
  description: within
tags:
- name: sizes
  description: Size conversion from named charts.
paths:
  /sizes/convert:
    get:
      operationId: convert_size
      summary: A size in every other system
      description: 'Turn a size in one system into every other system: rings, shoes, clothing, suits, belts and hats, or one designer''s own chart (pass designer as its slug, e.g. ''nike''). Answers only from the size tables on shopwithin.co/sizes, where every row comes from a named source with the day it was read, and returns the page that shows the answer. Use this when someone asks what their size is in another country''s system (EU to US shoe size, a ring size chart), which size to take in a designer, or how a designer''s sizes run. Call it without from and size to list the systems and tables a kind or a designer has.'
      tags:
      - sizes
      x-openai-isConsequential: false
      responses:
        '200':
          description: The answer.
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - tool
                - text
                - data
                properties:
                  ok:
                    type: boolean
                    const: true
                  tool:
                    type: string
                    const: convert_size
                  text:
                    type: string
                    description: The answer as a short text an assistant can quote whole.
                  data:
                    type: object
                    properties:
                      status:
                        type: string
                      scope:
                        anyOf:
                        - type: object
                          properties:
                            kind:
                              anyOf:
                              - type: string
                              - type: 'null'
                            designer:
                              anyOf:
                              - type: string
                              - type: 'null'
                            name:
                              type: string
                          required:
                          - kind
                          - designer
                          - name
                          additionalProperties: false
                        - type: 'null'
                      systems:
                        type: array
                        items:
                          type: object
                          properties:
                            key:
                              type: string
                            label:
                              type: string
                          required:
                          - key
                          - label
                          additionalProperties: false
                      tables:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            title:
                              type: string
                            department:
                              anyOf:
                              - type: string
                              - type: 'null'
                          required:
                          - id
                          - title
                          - department
                          additionalProperties: false
                      matches:
                        type: array
                        items:
                          type: object
                          properties:
                            table_id:
                              type: string
                            table_title:
                              type: string
                            match:
                              type: string
                            sizes:
                              type: array
                              items:
                                type: object
                                properties:
                                  system:
                                    type: string
                                  label:
                                    type: string
                                  value:
                                    type: string
                                required:
                                - system
                                - label
                                - value
                                additionalProperties: false
                          required:
                          - table_id
                          - table_title
                          - match
                          - sizes
                          additionalProperties: false
                      sources:
                        type: array
                        items:
                          type: object
                          properties:
                            publisher:
                              type: string
                            url:
                              type: string
                            read_on:
                              type: string
                          required:
                          - publisher
                          - url
                          - read_on
                          additionalProperties: false
                      page_url:
                        type: string
                      size_page_url:
                        anyOf:
                        - type: string
                        - type: 'null'
                      note:
                        anyOf:
                        - type: string
                        - type: 'null'
                      kinds:
                        type: array
                        items:
                          type: string
                      designers:
                        type: array
                        items:
                          type: string
                    required:
                    - status
                    - scope
                    - systems
                    - tables
                    - matches
                    - sources
                    - page_url
                    - note
                    - kinds
                    - designers
                    additionalProperties: false
        '400':
          description: 'The request could not be read: a missing or malformed argument. The error names it.'
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - error
                properties:
                  ok:
                    type: boolean
                    const: false
                  tool:
                    type:
                    - string
                    - 'null'
                  error:
                    type: string
                    description: What went wrong, in plain words.
        '429':
          description: 'Over the rate limit: a burst of 60 requests per address, then one a second.'
          headers:
            retry-after:
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - error
                properties:
                  ok:
                    type: boolean
                    const: false
                  tool:
                    type:
                    - string
                    - 'null'
                  error:
                    type: string
                    description: What went wrong, in plain words.
        '502':
          description: The shelves could not be read just now. Try again in a moment.
          content:
            application/json:
              schema:
                type: object
                required:
                - ok
                - error
                properties:
                  ok:
                    type: boolean
                    const: false
                  tool:
                    type:
                    - string
                    - 'null'
                  error:
                    type: string
                    description: What went wrong, in plain words.
      parameters:
      - name: kind
        in: query
        required: false
        description: 'What is being sized: rings, shoes, clothing, suits, belts or hats.'
        schema:
          description: 'What is being sized: rings, shoes, clothing, suits, belts or hats.'
          type: string
          enum:
          - rings
          - shoes
          - clothing
          - suits
          - belts
          - hats
      - name: designer
        in: query
        required: false
        description: A designer's slug, as in shopwithin.co/designers/<slug>, to read that designer's own charts instead of a kind.
        schema:
          description: A designer's slug, as in shopwithin.co/designers/<slug>, to read that designer's own charts instead of a kind.
          type: string
          maxLength: 80
      - name: from
        in: query
        required: false
        description: The system the size is written in, as a key this tool lists, e.g. 'us', 'uk', 'eu'.
        schema:
          description: The system the size is written in, as a key this tool lists, e.g. 'us', 'uk', 'eu'.
          type: string
          maxLength: 48
      - name: size
        in: query
        required: false
        description: The size as printed, e.g. '7', 'N 1/2', '42', 'M'.
        schema:
          description: The size as printed, e.g. '7', 'N 1/2', '42', 'M'.
          type: string
          maxLength: 24
      - name: to
        in: query
        required: false
        description: 'Optional: one system key to lead the answer with.'
        schema:
          description: 'Optional: one system key to lead the answer with.'
          type: string
          maxLength: 48
      - name: department
        in: query
        required: false
        description: 'Optional: only women''s or men''s tables.'
        schema:
          description: 'Optional: only women''s or men''s tables.'
          type: string
          enum:
          - women
          - men
      - name: table
        in: query
        required: false
        description: 'Optional: one table or chart id this tool lists.'
        schema:
          description: 'Optional: one table or chart id this tool lists.'
          type: string
          maxLength: 48
    servers:
    - url: https://shopwithin.co/api/v1
      description: within
externalDocs:
  description: The server's documentation page
  url: https://shopwithin.co/agents
x-refined-from:
- openapi.json
- shopwithin-co-openapi.json