{"openapi": "3.1.0", "info": {"title": "Preferred Stock AI public API", "version": "1.0.0", "description": "Read-only data on US preferred stocks and baby bonds: SEC-verified terms, price, yield, par discount, yield to call/worst and ReinvestCapture. Rate limit: 120 requests per minute per IP. No key needed. Research data only, not investment advice. Prices are delayed end-of-day closes.", "contact": {"url": "https://preferredstock.ai/contact"}, "termsOfService": "https://preferredstock.ai/terms"}, "servers": [{"url": "https://preferredstock.ai"}], "externalDocs": {"url": "https://preferredstock.ai/ai-agents#developers", "description": "Developer & agent guide"}, "paths": {"/api/v1/symbol/{ticker}": {"get": {"summary": "Look up one security", "description": "Accepts any common notation: JPM-P-D, JPM-D, JPM.PRD, JPMprD, JPM'D, JPM-PD.", "parameters": [{"name": "ticker", "in": "path", "required": true, "description": "Ticker in any notation", "schema": {"type": "string"}, "example": "JPM.PRD"}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"type": "object", "properties": {"security": {"type": "object", "description": "A security. Null means not known; nothing is estimated.", "properties": {"symbol": {"type": "string", "example": "JPM-P-D"}, "display_symbol": {"type": "string", "example": "JPM'D"}, "aliases": {"type": "array", "items": {"type": "string"}}, "type": {"type": "string", "enum": ["preferred", "baby_bond", "etf", "equity_unit"]}, "issuer": {"type": "object"}, "coupon_pct": {"type": ["number", "null"]}, "par": {"type": ["number", "null"], "description": "Liquidation preference, only when confirmed from the SEC filing"}, "price": {"type": "object"}, "yields": {"type": "object"}, "premium_discount": {"type": "object"}, "call": {"type": "object"}, "cumulative": {"type": ["boolean", "null"]}, "reinvest_capture": {"type": "object"}, "sec": {"type": "object"}, "page_url": {"type": "string"}}}}}}}}, "404": {"description": "Not found", "content": {"application/json": {"schema": {"type": "object"}}}}, "429": {"description": "Rate limited (Retry-After header)"}}}}, "/api/v1/lists": {"get": {"summary": "All list slugs", "description": "Every ranked list the site publishes.", "parameters": [], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"type": "object"}}}}, "404": {"description": "Not found", "content": {"application/json": {"schema": {"type": "object"}}}}, "429": {"description": "Rate limited (Retry-After header)"}}}}, "/api/v1/lists/{list_slug}": {"get": {"summary": "One ranked list", "description": "Same rows as the HTML list page.", "parameters": [{"name": "list_slug", "in": "path", "required": true, "description": "List slug", "schema": {"type": "string"}, "example": "largest-discount"}, {"name": "limit", "in": "query", "schema": {"type": "integer", "minimum": 0, "maximum": 500}}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"type": "object", "properties": {"items": {"type": "array", "items": {"type": "object", "description": "A security. Null means not known; nothing is estimated.", "properties": {"symbol": {"type": "string", "example": "JPM-P-D"}, "display_symbol": {"type": "string", "example": "JPM'D"}, "aliases": {"type": "array", "items": {"type": "string"}}, "type": {"type": "string", "enum": ["preferred", "baby_bond", "etf", "equity_unit"]}, "issuer": {"type": "object"}, "coupon_pct": {"type": ["number", "null"]}, "par": {"type": ["number", "null"], "description": "Liquidation preference, only when confirmed from the SEC filing"}, "price": {"type": "object"}, "yields": {"type": "object"}, "premium_discount": {"type": "object"}, "call": {"type": "object"}, "cumulative": {"type": ["boolean", "null"]}, "reinvest_capture": {"type": "object"}, "sec": {"type": "object"}, "page_url": {"type": "string"}}}}}}}}}, "404": {"description": "Not found", "content": {"application/json": {"schema": {"type": "object"}}}}, "429": {"description": "Rate limited (Retry-After header)"}}}}, "/api/v1/issuer/{common_ticker}": {"get": {"summary": "An issuer's securities", "description": "Keyed by the issuer's common-stock ticker (or CIK).", "parameters": [{"name": "common_ticker", "in": "path", "required": true, "description": "Common ticker", "schema": {"type": "string"}, "example": "JPM"}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"type": "object"}}}}, "404": {"description": "Not found", "content": {"application/json": {"schema": {"type": "object"}}}}, "429": {"description": "Rate limited (Retry-After header)"}}}}, "/api/v1/common/{common_ticker}/preferreds": {"get": {"summary": "Preferreds for a common stock", "description": "For sister sites: the issuer's preferreds plus embed snippets.", "parameters": [{"name": "common_ticker", "in": "path", "required": true, "description": "Common ticker", "schema": {"type": "string"}, "example": "ABR"}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"type": "object"}}}}, "404": {"description": "Not found", "content": {"application/json": {"schema": {"type": "object"}}}}, "429": {"description": "Rate limited (Retry-After header)"}}}}, "/api/v1/search": {"get": {"summary": "Search", "description": "Ticker in any notation, common ticker, or issuer name.", "parameters": [{"name": "q", "in": "query", "required": true, "schema": {"type": "string"}, "example": "Arbor"}], "responses": {"200": {"description": "OK", "content": {"application/json": {"schema": {"type": "object"}}}}, "404": {"description": "Not found", "content": {"application/json": {"schema": {"type": "object"}}}}, "429": {"description": "Rate limited (Retry-After header)"}}}}}}