# Archibase > The only structured, license-clean, machine-native floorplan corpus. Built for spatial AI, generative design, and architecture agents. Homes plus offices, industrial buildings, stations, shops and public buildings as room adjacency graphs (rooms with type, m², window count; door/opening/entrance edges), building type, provenance and metric vector geometry. 48,516 distinct layouts. Paid per request with x402 in USDC on Base (eip155:8453), Polygon (eip155:137) or Arbitrum One (eip155:42161): no account needed. ## API - [Discovery (x402)](https://api.archibase.dev/.well-known/x402.json): resources, prices, input/output JSON Schemas, payment terms - Search: GET https://api.archibase.dev/api/v1/plans/search, $0.02 per call. Query: bedrooms, m2_min, m2_max (or sqft_min, sqft_max), building_type (residential|office|retail|transport|government|sports|hospitality|healthcare|cultural|education|industrial|mixed|other), built, source, include_duplicates, units (metric|imperial), limit (<= 100) - Geometry: GET https://api.archibase.dev/api/v1/plans/{plan_id}/vector, $0.10 per plan. Room polygons in metres (ids match the search graph), doors, windows, stairs. Follow vector_schema_url from search results; null means no geometry - Unpaid requests get HTTP 402 with a PAYMENT-REQUIRED header; retry with PAYMENT-SIGNATURE (x402 v2). Invalid queries (400) and unknown plans (404) are free ## Using it - Free: GET https://api.archibase.dev/api/v1/sample (a fixed set of real plans, same format, free geometry at /api/v1/sample/{plan_id}/vector) and GET https://api.archibase.dev/api/v1/count (matches for any search filters, with the price). Browser: https://api.archibase.dev/explore - MCP server: npx -y archibase-mcp (env ARCHIBASE_PRIVATE_KEY = a dedicated spending wallet with ARCHIBASE_BUDGET_USD capping spend, or ARCHIBASE_API_KEY = a key issued on request, no wallet) - API keys (prepaid credits) are issued on request for trials and partners: send as X-API-Key on the same endpoints; GET /api/v1/account shows the balance. Write to the contact address on the site - Agent skill (free, MIT): teaches any agent to convert a floor plan into this format and validate it. Zip: https://api.archibase.dev/skills/archibase-plan-converter.zip; index of files: https://api.archibase.dev/skills/index.json; page: https://api.archibase.dev/skills - Any x402 client, e.g. @x402/fetch with @x402/evm ## Data - Swiss Dwellings: Apartments in built Swiss buildings; 24,935 layouts; CC BY 4.0 (Archilyse AG) - ResPlan: South Asian homes and apartments from real-estate listings; 16,454 layouts; CC BY 4.0 (Abouagour & Garyfallidis) - Hong Kong 3D Indoor Map: Floors of offices, industrial buildings, stations, malls and public buildings; 7,124 layouts; HK Gov. CSDI terms (Lands Department, HKSAR) - HABS: Historic US houses, measured drawings; 3 layouts; Public domain (Library of Congress) - Repeated layouts are collapsed by default (layout_copies gives the count). Rooms a source left unlabelled stay type "room" with an inferred_use; bedrooms_inferred counts the inferred bedrooms - Every record includes provenance with licence and attribution text to keep