Yes, foreigners can get married in Costa Rica. The documents needed are: original birth certificate, affidavit of single status, police record, valid passport, and divorce decree (if applicable). These documents need to be authenticated by a lawyer.