| 
                                                
                                                
                                                    Costa Rica CR: Exports: fob: Advanced Economies (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 12,731.147
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1948 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Exports: fob: Emerging and Developing Economies (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 5,389.237
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1948 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Exports: fob: Emerging and Developing Economies: Western Hemisphe... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 4,615.462
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1948 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Exports: fob: Emerging and Developing Economies: Middle East (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 81.336
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1949 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Exports: fob: Emerging and Developing Economies: Emerging and Dev... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 530.007
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1949 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Exports: fob: Emerging and Developing Economies: Africa (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 35.231
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1948 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Exports: fob: Emerging and Developing Economies: Europe: CIS (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 24.387
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1968 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Imports: cif: Emerging and Developing Economies: Export Earnings:... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 272.352
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1948 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Imports: cif: Emerging and Developing Economies: Export Earnings:... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 9,437.915
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1948 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Imports: cif: Advanced Economies (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 12,744.487
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1948 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Imports: cif: Emerging and Developing Economies (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 9,710.266
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1948 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Imports: cif: Emerging and Developing Economies: Western Hemisphe... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 4,852.853
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1948 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Imports: cif: Emerging and Developing Economies: Middle East (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 177.471
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1957 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Imports: cif: Emerging and Developing Economies: Emerging and Dev... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 4,334.363
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1948 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Imports: cif: Emerging and Developing Economies: Africa (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 36.440
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1959 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Imports: cif: Emerging and Developing Economies: Europe: CIS (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 63.908
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1959 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Depository Corporations Survey: Broad Money: % Change over Previo... (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 3.160
            
                                            2016
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1950 - 2016
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Fertilizer Consumption: per Hectare of Arable Land (kg/ha)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 770.631
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Agricultural Land (sq km)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 18,110.000
            
                                            2021
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2021
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Agricultural Land: % of Land Area (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 34.652
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Arable Land (ha)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 243,000.000
            
                                            2021
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2021
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Arable Land: Hectares per Person (ha)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.048
            
                                            2021
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2021
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Arable Land: % of Land Area (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 3.817
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Land under Cereal Production (ha)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 30,892.000
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Permanent Cropland: % of Land Area (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 7.207
            
                                            2021
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2021
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Forest Area (sq km)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 30,676.100
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1990 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Forest Area: % of Land Area (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 60.079
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1990 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Average Precipitation in Depth (mm/Year)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 2,926.000
            
                                            2019
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2019
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Land Area (sq km)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 51,060.000
            
                                            2021
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2021
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Surface Area (sq km)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 51,100.000
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Cereal Yield: per Hectare (kg/ha)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 3,575.200
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1961 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Trade in Services: % of GDP (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 24.468
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Imports: Service: Communications, Computer,... (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 37.936
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Imports: Goods and Services (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 28,412.501
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Imports: Service: Insurance and Financial S... (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 11.917
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Charges for the Use of Intellectual Propert... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 1,018.499
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Imports: Goods, Services and Primary Income (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 36,518.601
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Imports: Service: Transport: % of Service I... (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 23.998
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Imports: Service: Travel: % of Service Impo... (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 26.319
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Personal Remittances: Paid (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 566.182
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1981 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Balance: % of GDP (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 -1.432
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Net Trade: Goods and Services (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 5,270.322
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Net Errors and Omissions (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 777.582
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Reserves and Related Items (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 4,321.296
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Secondary Income: Net (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 564.306
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: ICT: Service Exports: BOP (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 2,130.517
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1995 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: ICT: Service Exports: % of Service Exports: BOP (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 14.399
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1995 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Exports: Service: Communications, Computer,... (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 63.215
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Exports: Goods and Services (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 33,682.823
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: International Liquidity: MFSM 2000: Central Bank: Other Assets (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 865.188
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            2001 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: International Liquidity: MFSM 2000: Central Bank: Other Liabiliti... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 1,109.561
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            2001 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: International Liquidity: MFSM 2000: Other Depository Corporations... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 2,227.367
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            2001 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: International Liquidity: MFSM 2000: Other Depository Corporations... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 6,250.289
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            2001 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Exports: Goods, Services and Primary Income (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 34,715.991
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Exports: Service: Transport: % of Service E... (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 3.460
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Exports: Service: Travel: % of Service Expo... (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 32.224
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Financial Account: Foreign Direct Investment: Net Inflows (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 3,673.404
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Financial Account: Foreign Direct Investment: Net Inflows: %... (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 5.419
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Financial Account: Foreign Direct Investment: Primary Income (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 2,671.498
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Financial Account: Portfolio Equity: Net Inflows (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 172.007
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Secondary Income: Receipts (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 1,247.888
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Personal Remittances: Received (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 662.104
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: BOP: Current Account: Personal Remittances: Received: % of GDP (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.765
            
                                            2023
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1977 - 2023
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Market Capitalization: Listed Domestic Companies (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 2,232.060
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1993 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Market Capitalization: Listed Domestic Companies: % of GDP (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 3.223
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1993 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Number of Listed Domestic Companies: Total (Unit)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 9.000
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1983 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Stocks Traded: Total Value: % of GDP (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.063
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1993 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Stocks Traded: Turnover Ratio of Domestic Shares (%)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 1.958
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1993 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.020
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1976 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.220
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1965 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.060
            
                                            2021
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1967 - 2021
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.900
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1973 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 4.040
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1971 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.140
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1967 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 1.930
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1963 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 14.260
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1988 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.000
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1973 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 110.510
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1980 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.410
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1964 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.010
            
                                            2012
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            2003 - 2012
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.030
            
                                            2013
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1987 - 2013
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.500
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1960 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 -8.680
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1963 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.040
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1991 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.440
            
                                            2021
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2021
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.020
            
                                            2016
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1966 - 2016
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.070
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1996 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.800
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1969 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 164.920
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1960 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: Net Bilateral Aid Flows from Development Assistance Committee Don... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 37.080
            
                                            2022
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1960 - 2022
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: External Debt: AMT: PPG: Official Creditors: Bilateral (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 37.873
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: External Debt: AMT: PPG: Official Creditors: Bilateral: Concessio... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 11.110
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1974 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: External Debt: AMT: IMF Repurchases (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.000
            
                                            2014
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2014
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: External Debt: AMT: Principal Repayments: Long-Term and IMF Repur... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 2,484.230
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: External Debt: AMT: Principal Repayments: Long-Term (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 2,484.230
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: External Debt: AMT: Principal Repayments: Private Non-Guaranteed (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 1,076.910
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: External Debt: AMT: Principal Repayments: Public and Publicly Gua... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 1,407.320
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: External Debt: AMT: Public and Publicly Guaranteed (PPG): The Int... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 35.434
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2018
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: External Debt: AMT: PPG: International Development Association (I... (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 0.082
            
                                            2011
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1971 - 2011
                                         | 
                                    
                                
                            
                                
                                    
                                        
                                            
                                            
                                            | 
                                                
                                                
                                                    Costa Rica CR: External Debt: AMT: PPG: Official Creditors: Multilateral (USD mn)
                                                
                                             | 
                                        
                                        
                                            
                                            
                
                 260.042
            
                                            2018
                                         | 
                                        
                                        
                                        
                                            yearly
                                         | 
                                        
                                            1970 - 2018
                                         |