{"openapi":"3.0.3","info":{"title":"Gnist Context — ICIJ Offshore Leaks","description":"Search the ICIJ Offshore Leaks Database — Panama Papers, Paradise Papers, Pandora Papers. 800K+ offshore entities, officers, intermediaries, and addresses from leaked financial documents.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/offshore-leaks/`\n- **Toolkit page:** `/toolkits/offshore-leaks`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/offshore-leaks/search_offshore_leaks":{"post":{"tags":["Legal"],"summary":"search_offshore_leaks","description":"Search the ICIJ Offshore Leaks Database for entities, officers, and intermediaries.\n\nCovers data from Panama Papers, Paradise Papers, Pandora Papers, Offshore Leaks,\nand Bahamas Leaks — over 800,000 offshore entities, their officers, and intermediaries.\n\nUse this to investigate offshore company structures, identify connected parties,\nor verify entities appearing in leaked financial documents.\n\nExamples:\n    search_offshore_leaks(\"Mossack Fonseca\") → Entities matching the law firm\n    search_offshore_leaks(\"Smith\", node_type=\"Officer\", country=\"GB\") → UK-linked officers\n    search_offshore_leaks(\"trust\", source=\"pandora-papers\") → Trusts in Pandora Papers\n\nReturns:\n    List of matches with node_id, name, type, description, and match score.","operationId":"offshore_leaks_search_offshore_leaks","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"query":{"description":"Search query — name of entity, person, or intermediary. Example: 'Mossack Fonseca'.","type":"string"},"node_type":{"default":"Entity","description":"Node type to search: Entity (companies/trusts), Officer (directors/shareholders), Address, Intermediary (law firms/agents), Other, Node (all).","type":"string"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO country code filter. Example: 'PA' for Panama, 'VGB' for British Virgin Islands."},"source":{"default":"all","description":"Investigation to search: all, panama-papers, paradise-papers, pandora-papers, offshore-leaks, bahamas-leaks.","type":"string"},"limit":{"default":10,"description":"Max results (1-25).","type":"integer"}},"required":["query"],"type":"object"}}}}}},"/rest/offshore-leaks/get_offshore_entity":{"post":{"tags":["Legal"],"summary":"get_offshore_entity","description":"Get detailed properties for an offshore leaks node by ID.\n\nReturns structured data including name, country, jurisdiction, status,\nincorporation/dissolution dates, data source, and related notes.\nEntity nodes include additional fields like IBC/RUC numbers.\n\nUse node_ids from search_offshore_leaks results.\n\nReturns:\n    Detailed node properties including data source investigation name.","operationId":"offshore_leaks_get_offshore_entity","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"node_id":{"description":"Node ID from a search result. Example: '10022201'.","type":"string"},"node_type":{"default":"Entity","description":"Node type: Entity, Officer, Address, Intermediary, Other.","type":"string"}},"required":["node_id"],"type":"object"}}}}}},"/rest/offshore-leaks/report_feedback":{"post":{"tags":["Legal"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"offshore_leaks_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Legal","description":"Data sources: Legal"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}