You asked:

what is the capital city of south africa

South Africa has three capital cities. Cape Town, as the seat of Parliament, is the legislative capital; Pretoria, as the seat of the President and Cabinet, is the administrative capital; and Bloemfontein, as the seat of the Supreme Court of Appeal, is the judicial capital.