{"info":{"title":"Offshoreleaks Database API","description":"Find out who’s behind more than 800,000 offshore companies, foundations and trusts from ICIJ’s investigations.","contact":{"name":"ICIJ","email":"data@icij.org","url":"https://offshoreleaks.icij.org/tips/new"},"version":"1.0.0"},"swagger":"2.0","produces":["application/json"],"host":"offshoreleaks.icij.org","basePath":"/api/v1/rest","tags":[{"name":"addresses","description":"Operations about addresses"},{"name":"entities","description":"Operations about entities"},{"name":"intermediaries","description":"Operations about intermediaries"},{"name":"nodes","description":"Operations about nodes"},{"name":"officers","description":"Operations about officers"},{"name":"others","description":"Operations about others"},{"name":"openapi","description":"Operations about openapis"}],"paths":{"/addresses":{"get":{"description":"Contact address as it appears in the original databases obtained by ICIJ. This can be an officer’s personal or business address, or a company’s registered address.","produces":["application/json"],"parameters":[{"in":"query","name":"from","type":"integer","format":"int32","default":0,"minimum":0,"maximum":9900,"required":false},{"in":"query","name":"size","type":"integer","format":"int32","default":25,"minimum":0,"maximum":100,"required":false},{"in":"query","name":"renderer","type":"string","enum":["OLDB","oldb","FTM","ftm"],"required":false}],"responses":{"200":{"description":"Contact address as it appears in the original databases obtained by ICIJ. This can be an officer’s personal or business address, or a company’s registered address."}},"tags":["addresses"],"operationId":"getAddresses","x-representers":["FTM::Address","OLDB::Address"]}},"/entities":{"get":{"description":"A company, trust or fund created by an agent in a low-tax jurisdiction that often attracts non-resident clients through preferential tax treatment.","produces":["application/json"],"parameters":[{"in":"query","name":"from","type":"integer","format":"int32","default":0,"minimum":0,"maximum":9900,"required":false},{"in":"query","name":"size","type":"integer","format":"int32","default":25,"minimum":0,"maximum":100,"required":false},{"in":"query","name":"renderer","type":"string","enum":["OLDB","oldb","FTM","ftm"],"required":false}],"responses":{"200":{"description":"A company, trust or fund created by an agent in a low-tax jurisdiction that often attracts non-resident clients through preferential tax treatment."}},"tags":["entities"],"operationId":"getEntities","x-representers":["OLDB::Entity","FTM::Company"]}},"/intermediaries":{"get":{"description":"A go-between for someone seeking an offshore corporation and an offshore service provider — usually a law firm, a bank or a middleman that asks an offshore service provider to create an offshore firm for a client.","produces":["application/json"],"parameters":[{"in":"query","name":"from","type":"integer","format":"int32","default":0,"minimum":0,"maximum":9900,"required":false},{"in":"query","name":"size","type":"integer","format":"int32","default":25,"minimum":0,"maximum":100,"required":false},{"in":"query","name":"renderer","type":"string","enum":["OLDB","oldb","FTM","ftm"],"required":false}],"responses":{"200":{"description":"A go-between for someone seeking an offshore corporation and an offshore service provider — usually a law firm, a bank or a middleman that asks an offshore service provider to create an offshore firm for a client."}},"tags":["intermediaries"],"operationId":"getIntermediaries","x-representers":["OLDB::Intermediary","FTM::LegalEntity"]}},"/nodes":{"get":{"description":"A list of generic nodes.","produces":["application/json"],"parameters":[{"in":"query","name":"from","type":"integer","format":"int32","default":0,"minimum":0,"maximum":9900,"required":false},{"in":"query","name":"size","type":"integer","format":"int32","default":25,"minimum":0,"maximum":100,"required":false},{"in":"query","name":"renderer","type":"string","enum":["OLDB","oldb","FTM","ftm"],"required":false}],"responses":{"200":{"description":"A list of generic nodes."}},"tags":["nodes"],"operationId":"getNodes","x-representers":["OLDB::Node","FTM::Thing"]}},"/nodes/{id}":{"get":{"description":"A generic node.","produces":["application/json"],"parameters":[{"in":"query","name":"renderer","type":"string","enum":["OLDB","oldb","FTM","ftm"],"required":false},{"in":"path","name":"id","description":"Node ID.","type":"integer","format":"int32","required":true},{"in":"query","name":"resolve","description":"Want set to true, the node is resolved with the correct model.","type":"boolean","required":false}],"responses":{"200":{"description":"A generic node."}},"tags":["nodes"],"operationId":"getNodesId","x-representers":["OLDB::Node","FTM::Thing"]}},"/officers":{"get":{"description":"A person or company who plays a role in an offshore entity.","produces":["application/json"],"parameters":[{"in":"query","name":"from","type":"integer","format":"int32","default":0,"minimum":0,"maximum":9900,"required":false},{"in":"query","name":"size","type":"integer","format":"int32","default":25,"minimum":0,"maximum":100,"required":false},{"in":"query","name":"renderer","type":"string","enum":["OLDB","oldb","FTM","ftm"],"required":false}],"responses":{"200":{"description":"A person or company who plays a role in an offshore entity."}},"tags":["officers"],"operationId":"getOfficers","x-representers":["OLDB::Officer","FTM::LegalEntity"]}},"/others":{"get":{"produces":["application/json"],"parameters":[{"in":"query","name":"from","type":"integer","format":"int32","default":0,"minimum":0,"maximum":9900,"required":false},{"in":"query","name":"size","type":"integer","format":"int32","default":25,"minimum":0,"maximum":100,"required":false},{"in":"query","name":"renderer","type":"string","enum":["OLDB","oldb","FTM","ftm"],"required":false}],"responses":{"200":{"description":""}},"tags":["others"],"operationId":"getOthers","x-representers":["OLDB::Other","FTM::LegalEntity"]}},"/openapi/{name}":{"get":{"description":"Swagger compatible API description for specific API","produces":["application/json"],"parameters":[{"in":"path","name":"name","description":"Resource name of mounted API","type":"string","required":true},{"in":"query","name":"locale","description":"Locale of API documentation","type":"string","required":false}],"responses":{"200":{"description":"Swagger compatible API description for specific API"}},"tags":["openapi"],"operationId":"getOpenapiName"}},"/openapi":{"get":{"description":"Swagger compatible API description","produces":["application/json"],"responses":{"200":{"description":"Swagger compatible API description"}},"tags":["openapi"],"operationId":"getOpenapi"}}},"definitions":{"FTM::Address":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Thing","description":"Unique identifier of the thing."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Thing","description":"Schema of the thing."},"properties":{"type":"object","properties":{"name":{"type":"array","items":{"type":"string"},"x-label":"Name","x-inherit":"Thing","description":"Name of the thing."},"country":{"type":"array","items":{"type":"string"},"x-label":"Country codes","x-inherit":"Thing","description":"Country code of the thing in ISO 3166-1 alpha-2 format. For example, 'US' for United States."},"address_entity":{"type":"array","items":{"$ref":"#/definitions/FTM::Address"},"x-label":"Address entity","x-inherit":"Thing","description":"Address entity of the thing."},"notes":{"type":"array","items":{"type":"string"},"x-label":"Notes","x-inherit":"Thing","description":"Publisher notes about the thing."},"publishing_source":{"type":"array","items":{"type":"string"},"x-label":"Data source","x-inherit":"Thing","description":"Data source of the thing."}},"x-label":"Properties","x-inherit":"Thing"}}},"FTM::Company":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Thing","description":"Unique identifier of the thing."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Thing","description":"Schema of the thing."},"properties":{"type":"object","properties":{"name":{"type":"array","items":{"type":"string"},"x-label":"Name","x-inherit":"Thing","description":"Name of the thing."},"country":{"type":"array","items":{"type":"string"},"x-label":"Country codes","x-inherit":"Thing","description":"Country code of the thing in ISO 3166-1 alpha-2 format. For example, 'US' for United States."},"address_entity":{"type":"array","items":{"$ref":"#/definitions/FTM::Address"},"x-label":"Address entity","x-inherit":"Thing","description":"Address entity of the thing."},"notes":{"type":"array","items":{"type":"string"},"x-label":"Notes","x-inherit":"Thing","description":"Publisher notes about the thing."},"publishing_source":{"type":"array","items":{"type":"string"},"x-label":"Data source","x-inherit":"Thing","description":"Data source of the thing."},"status":{"type":"array","items":{"type":"string"},"x-label":"Status","x-inherit":"LegalEntity","description":"Status of the entity."},"incorporation_date":{"type":"array","items":{"type":"string"},"x-label":"Incorporation date","x-inherit":"LegalEntity","description":"Date of incorporation of the entity in ISO 8601 format. For example, '2022-01-01'."},"dissolution_date":{"type":"array","items":{"type":"string"},"x-label":"Dissolution date","x-inherit":"LegalEntity","description":"Date of dissolution of the entity in ISO 8601 format. For example, '2022-01-01'."},"jurisdiction":{"type":"array","items":{"type":"string"},"x-label":"Jurisdiction","x-inherit":"Company","description":"Jurisdiction of the entity in ISO 3166-1 alpha-2 format. For example, 'US' for United States."},"registration_number":{"type":"array","items":{"type":"string"},"x-label":"Ibc ruc","x-inherit":"Company","description":"Registration number of the entity."},"agent_representation":{"type":"array","items":{"$ref":"#/definitions/FTM::Representation"},"x-label":"Agent representation","x-inherit":"Company","description":"Agent representation of the entity."},"ownership_owner":{"type":"array","items":{"$ref":"#/definitions/FTM::LegalEntity"},"x-label":"Ownership owner","x-inherit":"Company","description":"Owner of the entity."}},"x-label":"Properties","x-inherit":"Thing"}}},"FTM::Representation":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Interval","description":"Unique identifier of the interval."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Interval","description":"Schema of the interval."},"properties":{"type":"object","properties":{"status":{"type":"array","items":{"type":"string"},"x-label":"Status","x-inherit":"Interval","description":"Status of the interval."},"summary":{"type":"array","items":{"type":"string"},"x-label":"Summary","x-inherit":"Interval","description":"Summary about the interval."},"agent":{"type":"array","items":{"$ref":"#/definitions/FTM::LegalEntity"},"x-label":"Agent","x-inherit":"Representation","description":"The agent of the representation."},"client":{"type":"array","items":{"$ref":"#/definitions/FTM::LegalEntity"},"x-label":"Client","x-inherit":"Representation","description":"The represented client."}},"x-label":"Properties","x-inherit":"Interval"}}},"FTM::LegalEntity":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Thing","description":"Unique identifier of the thing."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Thing","description":"Schema of the thing."},"properties":{"type":"object","properties":{"name":{"type":"array","items":{"type":"string"},"x-label":"Name","x-inherit":"Thing","description":"Name of the thing."},"country":{"type":"array","items":{"type":"string"},"x-label":"Country codes","x-inherit":"Thing","description":"Country code of the thing in ISO 3166-1 alpha-2 format. For example, 'US' for United States."},"address_entity":{"type":"array","items":{"$ref":"#/definitions/FTM::Address"},"x-label":"Address entity","x-inherit":"Thing","description":"Address entity of the thing."},"notes":{"type":"array","items":{"type":"string"},"x-label":"Notes","x-inherit":"Thing","description":"Publisher notes about the thing."},"publishing_source":{"type":"array","items":{"type":"string"},"x-label":"Data source","x-inherit":"Thing","description":"Data source of the thing."},"status":{"type":"array","items":{"type":"string"},"x-label":"Status","x-inherit":"LegalEntity","description":"Status of the entity."},"incorporation_date":{"type":"array","items":{"type":"string"},"x-label":"Incorporation date","x-inherit":"LegalEntity","description":"Date of incorporation of the entity in ISO 8601 format. For example, '2022-01-01'."},"dissolution_date":{"type":"array","items":{"type":"string"},"x-label":"Dissolution date","x-inherit":"LegalEntity","description":"Date of dissolution of the entity in ISO 8601 format. For example, '2022-01-01'."}},"x-label":"Properties","x-inherit":"Thing"}}},"FTM::Thing":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Thing","description":"Unique identifier of the thing."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Thing","description":"Schema of the thing."},"properties":{"type":"object","properties":{"name":{"type":"array","items":{"type":"string"},"x-label":"Name","x-inherit":"Thing","description":"Name of the thing."},"country":{"type":"array","items":{"type":"string"},"x-label":"Country codes","x-inherit":"Thing","description":"Country code of the thing in ISO 3166-1 alpha-2 format. For example, 'US' for United States."},"address_entity":{"type":"array","items":{"$ref":"#/definitions/FTM::Address"},"x-label":"Address entity","x-inherit":"Thing","description":"Address entity of the thing."},"notes":{"type":"array","items":{"type":"string"},"x-label":"Notes","x-inherit":"Thing","description":"Publisher notes about the thing."},"publishing_source":{"type":"array","items":{"type":"string"},"x-label":"Data source","x-inherit":"Thing","description":"Data source of the thing."}},"x-label":"Properties","x-inherit":"Thing"}}},"OLDB::Address":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Node","description":"Unique identifier of the node."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Node","description":"Schema of the node."},"properties":{"type":"object","properties":{"name":{"type":"string","x-label":"Name","x-inherit":"Node","description":"Name of the node."},"country_codes":{"type":"array","x-label":"Country codes","x-inherit":"Node","description":"Country codes of the node in ISO 3166-1 alpha-2 format. For example, ['US', 'CA'] for United States and Canada."},"icij_id":{"type":"string","x-label":"ICIJ ID","x-inherit":"Node","description":"ID assigned by ICIJ to the node."},"data_source":{"type":"string","x-label":"Data source","x-inherit":"Node","description":"Source of the data."},"note":{"type":"string","x-label":"Note","x-inherit":"Node","description":"Note about the node."},"valid_until":{"type":"string","x-label":"Valid until","x-inherit":"Node","description":"Date until which the node information is valid in ISO 8601 format. For example, '2022-12-31'."},"address":{"type":"string","x-label":"Address","x-inherit":"Address","description":"Address of the entity."}},"x-label":"Properties","x-inherit":"Node"}}},"OLDB::Entity":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Node","description":"Unique identifier of the node."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Node","description":"Schema of the node."},"properties":{"type":"object","properties":{"name":{"type":"string","x-label":"Name","x-inherit":"Node","description":"Name of the node."},"country_codes":{"type":"array","x-label":"Country codes","x-inherit":"Node","description":"Country codes of the node in ISO 3166-1 alpha-2 format. For example, ['US', 'CA'] for United States and Canada."},"icij_id":{"type":"string","x-label":"ICIJ ID","x-inherit":"Node","description":"ID assigned by ICIJ to the node."},"data_source":{"type":"string","x-label":"Data source","x-inherit":"Node","description":"Source of the data."},"note":{"type":"string","x-label":"Note","x-inherit":"Node","description":"Note about the node."},"valid_until":{"type":"string","x-label":"Valid until","x-inherit":"Node","description":"Date until which the node information is valid in ISO 8601 format. For example, '2022-12-31'."},"ibc_ruc":{"type":"string","x-label":"Ibc ruc","x-inherit":"Entity","description":"IBC RUC of the entity."},"jurisdiction":{"type":"string","x-label":"Jurisdiction","x-inherit":"Entity","description":"Jurisdiction of the entity in ISO 3166-1 alpha-2 format. For example, 'US' for United States."},"status":{"type":"string","x-label":"Status","x-inherit":"Entity","description":"Status of the entity."},"incorporation_date":{"type":"string","x-label":"Incorporation date","x-inherit":"Entity","description":"Date of incorporation of the entity in ISO 8601 format. For example, '2022-01-01'."},"dissolution_date":{"type":"string","x-label":"Dissolution date","x-inherit":"Entity","description":"Date of dissolution of the entity in ISO 8601 format. For example, '2022-12-31'."},"intermediaries":{"type":"array","items":{"$ref":"#/definitions/OLDB::Intermediary"},"x-label":"Intermediaries","x-inherit":"Entity","description":"Intermediaries associated with the entity."},"officers":{"type":"array","items":{"$ref":"#/definitions/OLDB::Officer"},"x-label":"Officers","x-inherit":"Entity","description":"Officers associated with the entity."},"addresses":{"type":"array","items":{"$ref":"#/definitions/OLDB::Address"},"x-label":"Addresses","x-inherit":"Entity","description":"Addresses associated with the entity."}},"x-label":"Properties","x-inherit":"Node"}}},"OLDB::Intermediary":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Node","description":"Unique identifier of the node."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Node","description":"Schema of the node."},"properties":{"type":"object","properties":{"name":{"type":"string","x-label":"Name","x-inherit":"Node","description":"Name of the node."},"country_codes":{"type":"array","x-label":"Country codes","x-inherit":"Node","description":"Country codes of the node in ISO 3166-1 alpha-2 format. For example, ['US', 'CA'] for United States and Canada."},"icij_id":{"type":"string","x-label":"ICIJ ID","x-inherit":"Node","description":"ID assigned by ICIJ to the node."},"data_source":{"type":"string","x-label":"Data source","x-inherit":"Node","description":"Source of the data."},"note":{"type":"string","x-label":"Note","x-inherit":"Node","description":"Note about the node."},"valid_until":{"type":"string","x-label":"Valid until","x-inherit":"Node","description":"Date until which the node information is valid in ISO 8601 format. For example, '2022-12-31'."}},"x-label":"Properties","x-inherit":"Node","description":"Properties of the node."}}},"OLDB::Officer":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Node","description":"Unique identifier of the node."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Node","description":"Schema of the node."},"properties":{"type":"object","properties":{"name":{"type":"string","x-label":"Name","x-inherit":"Node","description":"Name of the node."},"country_codes":{"type":"array","x-label":"Country codes","x-inherit":"Node","description":"Country codes of the node in ISO 3166-1 alpha-2 format. For example, ['US', 'CA'] for United States and Canada."},"icij_id":{"type":"string","x-label":"ICIJ ID","x-inherit":"Node","description":"ID assigned by ICIJ to the node."},"data_source":{"type":"string","x-label":"Data source","x-inherit":"Node","description":"Source of the data."},"note":{"type":"string","x-label":"Note","x-inherit":"Node","description":"Note about the node."},"valid_until":{"type":"string","x-label":"Valid until","x-inherit":"Node","description":"Date until which the node information is valid in ISO 8601 format. For example, '2022-12-31'."}},"x-label":"Properties","x-inherit":"Node","description":"Properties of the node."}}},"OLDB::Node":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Node","description":"Unique identifier of the node."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Node","description":"Schema of the node."},"properties":{"type":"object","properties":{"name":{"type":"string","x-label":"Name","x-inherit":"Node","description":"Name of the node."},"country_codes":{"type":"array","x-label":"Country codes","x-inherit":"Node","description":"Country codes of the node in ISO 3166-1 alpha-2 format. For example, ['US', 'CA'] for United States and Canada."},"icij_id":{"type":"string","x-label":"ICIJ ID","x-inherit":"Node","description":"ID assigned by ICIJ to the node."},"data_source":{"type":"string","x-label":"Data source","x-inherit":"Node","description":"Source of the data."},"note":{"type":"string","x-label":"Note","x-inherit":"Node","description":"Note about the node."},"valid_until":{"type":"string","x-label":"Valid until","x-inherit":"Node","description":"Date until which the node information is valid in ISO 8601 format. For example, '2022-12-31'."}},"x-label":"Properties","x-inherit":"Node","description":"Properties of the node."}}},"OLDB::Other":{"type":"object","properties":{"id":{"type":"integer","format":"int32","x-label":"ID","x-inherit":"Node","description":"Unique identifier of the node."},"schema":{"type":"string","x-label":"Schema","x-inherit":"Node","description":"Schema of the node."},"properties":{"type":"object","properties":{"name":{"type":"string","x-label":"Name","x-inherit":"Node","description":"Name of the node."},"country_codes":{"type":"array","x-label":"Country codes","x-inherit":"Node","description":"Country codes of the node in ISO 3166-1 alpha-2 format. For example, ['US', 'CA'] for United States and Canada."},"icij_id":{"type":"string","x-label":"ICIJ ID","x-inherit":"Node","description":"ID assigned by ICIJ to the node."},"data_source":{"type":"string","x-label":"Data source","x-inherit":"Node","description":"Source of the data."},"note":{"type":"string","x-label":"Note","x-inherit":"Node","description":"Note about the node."},"valid_until":{"type":"string","x-label":"Valid until","x-inherit":"Node","description":"Date until which the node information is valid in ISO 8601 format. For example, '2022-12-31'."}},"x-label":"Properties","x-inherit":"Node","description":"Properties of the node."}}}}}