Costa Rican nationality by birth in Costa Rica or through a Costa Rican parent
Article 13 nationality by birth rules: Costa Rican parentage, birth in Costa Rica with registration for foreign parents, birth abroad to a Costa Rican by birth with registration, and foundlings.
Sources: Costa Rica Constitution — nationality (Constitute Project)