You cannot apply for asylum in the U.S. from another country. Asylum is a form of protection that is granted to individuals who are already physically present in the United States and who meet the definition of a refugee under U.S. law.
To be eligible for asylum, an individual must demonstrate that they have a well-founded fear of persecution in their home country based on their race, religion, nationality, political opinion, or membership in a particular social group. They must also show that their government is unable or unwilling to protect them from this persecution.
To apply for asylum in the United States, an individual must be physically present in the country and submit an application within one year of their arrival. In some cases, individuals may be able to apply for asylum at a port of entry or in removal proceedings before an immigration judge.
However, it is possible to apply for refugee status from outside the United States through the U.S. Refugee Admissions Program (USRAP), which is managed by the U.S. Department of State. The USRAP provides resettlement opportunities for refugees who are unable to return to their home country or integrate into the country where they have sought asylum.