The bail was granted in two cases by the Sindh High Court against the two surety bonds of Rs0.2 million each.
On February 16, the PTI lawmaker was arrested for bringing weapons to the by-elections in Karachi and for interfering with an operation against encroachments.
Julian Assange has been refused bail by a judge, who this week rejected a U.S request to have him extradited to face espionage and hacking charges.
The co-founder of WikiLeaks has been held at the Belmarsh Prison in South-East London since the past 18 months, after he was evicted from the Ecuadorian embassy - where he sought asylum since the past seven years.