Anderson is a former Panamanian youth national team player. He was part of Panama's squad at 2019 Pan American Games.[2]
On 27 January 2019, Anderson made his senior team debut in a 3–0 friendly defeat against the United States.[3]
On 12 July 2023, he scored his first international goal during overtime of the semi-finals of the 2023 CONCACAF Gold Cup against the United States, resulting in a 1–1 draw. The Panamanians would then win 5–4 on penalties.[4]