The Pillar Windows API
The Windows API from The Pillar — 2 operation(s) for windows.
The Windows API from The Pillar — 2 operation(s) for windows.
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/thepillar-io:thepillar-io-windows-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: Pillar Windows API
version: 1.0.0
description: 'Find, price and lease the ad windows and city billboards on The Pillar (thepillar.io), a 3D tower in a free browser game. A window is a licensed monthly ad pane, not property. No key or account needed: a lease returns a Stripe checkout link for the person to pay. With an OAuth token from agent sign-in, a lease is paid on the account''s saved card instead, within its monthly limit. Or pay with USDC on Base through x402 (POST /leases/x402): no account, one month per payment. Docs: https://thepillar.io/developers'
contact:
email: contact@extensionsmarket.com
servers:
- url: https://thepillar.io/api/v1
tags:
- name: Windows
paths:
/windows:
get:
operationId: listWindows
summary: List free windows, billboards and casino game sponsorships with their monthly…
parameters:
- name: kind
in: query
required: false
description: Only windows, only billboards or only casino games
schema:
type: string
enum:
- window
- billboard
- casino
- name: floor
in: query
required: false
description: One floor (1 to 80); floor filters return tower windows only
schema:
type: integer
minimum: 1
maximum: 80
- name: floorMin
in: query
required: false
description: Lowest floor
schema:
type: integer
minimum: 1
maximum: 80
- name: floorMax
in: query
required: false
description: Highest floor
schema:
type: integer
minimum: 1
maximum: 80
- name: face
in: query
required: false
description: Side of the tower
schema:
type: string
enum:
- south
- east
- north
- west
- name: spot
in: query
required: false
description: Corner panes cost 35% more
schema:
type: string
enum:
- corner
- middle
- name: maxPrice
in: query
required: false
description: Highest monthly price in US dollars
schema:
type: number
exclusiveMinimum: 0
- name: limit
in: query
required: false
description: Items per page, 1 to 100 (default 50)
schema:
type: integer
minimum: 1
maximum: 100
- name: cursor
in: query
required: false
description: The `next` value from the previous page
schema:
type: string
responses:
'200':
description: A page of free slots, cheapest floors first, then billboards
content:
application/json:
schema:
type: object
properties:
items:
type: array
items:
type: object
properties:
id:
description: 'Slot id: "F47-S3" (floor 47, south face, column 3), "B-1234" (a city billboard) or "C-slots" (the sponsor of a casino game)'
type: string
kind:
type: string
enum:
- window
- billboard
- casino
floor:
description: 1 to 80; null for billboards and casino games
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
face:
anyOf:
- type: string
enum:
- south
- east
- north
- west
- type: 'null'
column:
description: 1 to 6 across the face; 1 and 6 are corners
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
spot:
anyOf:
- type: string
enum:
- corner
- middle
- type: 'null'
priceCents:
description: Monthly price in US cents, exactly what Stripe charges
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
price:
description: Monthly price for people, e.g. "$68"
type: string
currency:
type: string
const: USD
billing:
type: string
const: monthly
pageUrl:
description: The slot's page
type: string
leaseUrl:
description: Where a person leases this slot
type: string
image:
description: The slot's share card (PNG)
type: string
required:
- id
- kind
- floor
- face
- column
- spot
- priceCents
- price
- currency
- billing
- pageUrl
- leaseUrl
- image
additionalProperties: false
next:
description: Pass as `cursor` for the next page; null on the last page
anyOf:
- type: string
- type: 'null'
required:
- items
- next
additionalProperties: false
'400':
description: Bad input; the message says which
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
required:
- code
- message
additionalProperties: false
required:
- error
additionalProperties: false
'429':
description: Too many requests from this IP (120 a minute); wait a minute
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
required:
- code
- message
additionalProperties: false
required:
- error
additionalProperties: false
tags:
- Windows
/windows/{id}:
get:
operationId: getWindow
summary: 'One window or billboard: its price and whether it can be leased now'
parameters:
- name: id
in: path
required: true
description: Slot id, e.g. "F47-S3" or "B-1234"
schema:
type: string
responses:
'200':
description: The slot
content:
application/json:
schema:
type: object
properties:
item:
type: object
properties:
id:
description: 'Slot id: "F47-S3" (floor 47, south face, column 3), "B-1234" (a city billboard) or "C-slots" (the sponsor of a casino game)'
type: string
kind:
type: string
enum:
- window
- billboard
- casino
floor:
description: 1 to 80; null for billboards and casino games
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
face:
anyOf:
- type: string
enum:
- south
- east
- north
- west
- type: 'null'
column:
description: 1 to 6 across the face; 1 and 6 are corners
anyOf:
- type: integer
minimum: -9007199254740991
maximum: 9007199254740991
- type: 'null'
spot:
anyOf:
- type: string
enum:
- corner
- middle
- type: 'null'
priceCents:
description: Monthly price in US cents, exactly what Stripe charges
type: integer
minimum: -9007199254740991
maximum: 9007199254740991
price:
description: Monthly price for people, e.g. "$68"
type: string
currency:
type: string
const: USD
billing:
type: string
const: monthly
pageUrl:
description: The slot's page
type: string
leaseUrl:
description: Where a person leases this slot
type: string
image:
description: The slot's share card (PNG)
type: string
required:
- id
- kind
- floor
- face
- column
- spot
- priceCents
- price
- currency
- billing
- pageUrl
- leaseUrl
- image
additionalProperties: false
available:
type: boolean
reason:
description: 'Why it can''t be leased: taken (lit), reserved (paid, in review), paused, prize (only its winner), crown (never sold)'
anyOf:
- type: string
enum:
- taken
- reserved
- paused
- prize
- crown
- type: 'null'
required:
- item
- available
- reason
additionalProperties: false
'404':
description: No slot has that id
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
required:
- code
- message
additionalProperties: false
required:
- error
additionalProperties: false
'429':
description: Too many requests from this IP (120 a minute); wait a minute
content:
application/json:
schema:
type: object
properties:
error:
type: object
properties:
code:
type: string
message:
type: string
required:
- code
- message
additionalProperties: false
required:
- error
additionalProperties: false
tags:
- Windows
components:
securitySchemes:
oauth2:
type: oauth2
description: Agent sign-in (OAuth 2.1 with PKCE). The person signs in with an email code, saves a card and sets a monthly limit.
flows:
authorizationCode:
authorizationUrl: https://thepillar.io/oauth/authorize
tokenUrl: https://thepillar.io/oauth/token
refreshUrl: https://thepillar.io/oauth/token
scopes:
lease: Lease windows on the account's saved card, up to its monthly limit