Nobitex.ir is the biggest crypto exchange in Iran. Although the country is sanctioned, people with dual citizenship have to report their foreign assets and pay capital gain taxes on their foreign incomes to the US government while the rest can still benefit from using Koinly to view the performance of their portfolio.
Nobitex.ir's API documentation can be found at the link below, although it's unfortunately in Farsi: