Within Ideas API
The ideas API from Within — 2 operation(s) for ideas.
The ideas API from Within — 2 operation(s) for ideas.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/shopwithin-co:shopwithin-co-ideas-api"
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.
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: 3.2.0
info:
title: Shopwithin Co Ideas 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 ideas 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: ideas
paths:
/gifts:
get:
operationId: gift_ideas
summary: Gift ideas in stock, by who it is for and a budget
description: 'Gift ideas in stock at independent luxury boutiques: designer gifts for her, for him or for anyone, under a budget, each with its price, the shop and the shopwithin.co page to buy it, plus within''s gift guides that fit. The gifts come from those guides, where every item is listed in one size: jewelry, wallets, bags, hats, scarves, sunglasses, watches and candles. Use this when someone asks for gift ideas or Christmas gift ideas, gifts for her or for him, a gift for a boyfriend, girlfriend, mom or dad, luxury gifts, designer gifts or gifts under 100. When the guides hold too little for the ask it returns plain stock under the budget and says so. It only knows the boutiques on within.'
tags:
- ideas
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: gift_ideas
text:
type: string
description: The answer as a short text an assistant can quote whole.
data:
type: object
properties:
pieces:
type: array
items:
type: object
properties:
id:
type: string
boutique_domain:
type: string
title:
type: string
brand:
anyOf:
- type: string
- type: 'null'
category:
anyOf:
- type: string
- type: 'null'
price:
type: number
price_max:
anyOf:
- type: number
- type: 'null'
currency:
type: string
price_label:
type: string
sizes_in_stock:
type: array
items:
type: string
units_in_stock:
type: number
boutique:
type: object
properties:
domain:
type: string
name:
type: string
neighbourhood:
anyOf:
- type: string
- type: 'null'
city:
anyOf:
- type: string
- type: 'null'
url:
type: string
required:
- domain
- name
- neighbourhood
- city
- url
additionalProperties: false
collect_in_store:
anyOf:
- type: boolean
- type: 'null'
delivery:
anyOf:
- type: boolean
- type: 'null'
image:
anyOf:
- type: string
- type: 'null'
url:
type: string
price_drop:
anyOf:
- type: object
properties:
from:
type: number
at:
type: string
required:
- from
- at
additionalProperties: false
- type: 'null'
condition:
anyOf:
- type: string
enum:
- pre-owned
- lightly-used
- worn-once
- vintage
- new
- type: 'null'
stock_checked_at:
anyOf:
- type: string
- type: 'null'
required:
- id
- boutique_domain
- title
- brand
- category
- price
- price_max
- currency
- price_label
- sizes_in_stock
- units_in_stock
- boutique
- collect_in_store
- delivery
- image
- url
- price_drop
- condition
- stock_checked_at
additionalProperties: false
source:
type: string
enum:
- gift_guide
- stock
gift_for:
type: string
enum:
- her
- him
- anyone
budget:
anyOf:
- type: number
- type: 'null'
budget_currency:
anyOf:
- type: string
- type: 'null'
total:
anyOf:
- type: number
- type: 'null'
guides:
type: array
items:
type: object
properties:
kind:
type: string
enum:
- gift_guide
- edit
title:
type: string
about:
type: string
url:
type: string
required:
- kind
- title
- about
- url
additionalProperties: false
note:
anyOf:
- type: string
- type: 'null'
required:
- pieces
- source
- gift_for
- budget
- budget_currency
- total
- guides
- note
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: recipient
in: query
required: false
description: 'Who the gift is for, in plain words: ''her'', ''him'', ''my dad'', ''girlfriend'', ''mom'', ''anyone''. Left out: gifts for anyone.'
schema:
description: 'Who the gift is for, in plain words: ''her'', ''him'', ''my dad'', ''girlfriend'', ''mom'', ''anyone''. Left out: gifts for anyone.'
type: string
maxLength: 60
- name: budget
in: query
required: false
description: The most to spend. Read in Canadian dollars, the boutiques' own prices.
schema:
description: The most to spend. Read in Canadian dollars, the boutiques' own prices.
type: number
exclusiveMinimum: 0
- name: kind
in: query
required: false
description: 'A kind of gift or a word to look for: ''jewelry'', ''wallet'', ''candle'', ''sunglasses'', ''made in Canada'', ''sneakers''.'
schema:
description: 'A kind of gift or a word to look for: ''jewelry'', ''wallet'', ''candle'', ''sunglasses'', ''made in Canada'', ''sneakers''.'
type: string
maxLength: 60
- name: limit
in: query
required: false
description: Most gifts to return, default 12.
schema:
description: Most gifts to return, default 12.
type: integer
minimum: 1
maximum: 24
servers:
- url: https://shopwithin.co/api/v1
description: within
/outfits:
get:
operationId: outfit_ideas
summary: Outfits within has put together, with the items in stock
description: 'Outfit ideas within has already put together, for a question or an occasion in plain words: its edits ("Christmas outfits", "What to Wear to the Ballet"), its outfit pages ("Guidi outfits", "Winter outfits for women") and its looks, each a whole outfit. Up to five come back, each with its name, one line on what it is, its shopwithin.co address and the items in it that are in stock at independent luxury boutiques, with price and link. Use this when someone asks for outfit ideas, what to wear to an event or in a season, how to style a kind of item or a designer, or for Christmas outfits, winter outfits, a date night outfit or streetwear outfits. It returns only what is on within and gives no advice of its own.'
tags:
- ideas
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: outfit_ideas
text:
type: string
description: The answer as a short text an assistant can quote whole.
data:
type: object
properties:
results:
type: array
items:
type: object
properties:
kind:
type: string
enum:
- edit
- outfit_page
- person_page
- look
title:
type: string
about:
type: string
url:
type: string
items:
type: array
items:
type: object
properties:
id:
type: string
boutique_domain:
type: string
name:
type: string
brand:
anyOf:
- type: string
- type: 'null'
part:
anyOf:
- type: string
- type: 'null'
price:
type: number
currency:
type: string
price_label:
type: string
sizes_in_stock:
type: array
items:
type: string
boutique:
type: string
url:
type: string
in_look:
anyOf:
- type: object
properties:
title:
type: string
url:
type: string
required:
- title
- url
additionalProperties: false
- type: 'null'
required:
- id
- boutique_domain
- name
- brand
- part
- price
- currency
- price_label
- sizes_in_stock
- boutique
- url
- in_look
additionalProperties: false
required:
- kind
- title
- about
- url
- items
additionalProperties: false
department:
anyOf:
- type: string
enum:
- women
- men
- type: 'null'
hub_url:
type: string
note:
anyOf:
- type: string
- type: 'null'
required:
- results
- department
- hub_url
- note
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: query
in: query
required: true
description: 'The question or the occasion in plain words: ''christmas outfits'', ''what to wear to the ballet'', ''gym outfit men'', ''guidi boots outfit''.'
schema:
type: string
minLength: 2
maxLength: 200
description: 'The question or the occasion in plain words: ''christmas outfits'', ''what to wear to the ballet'', ''gym outfit men'', ''guidi boots outfit''.'
- name: department
in: query
required: false
description: Only outfits for women or only for men. Outfits made for anyone stay in.
schema:
description: Only outfits for women or only for men. Outfits made for anyone stay in.
type: string
enum:
- women
- men
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