Miranda scored his first senior goal on 27 January 2018, netting the second in a 3–0 home win against Granada. On 11 December, he made his UEFA Champions League debut for the first team in a 1–1 draw against Tottenham Hotspur.
Loan to Schalke 04
On 30 August 2019, Miranda joined Bundesliga club FC Schalke 04 on a two-year loan deal.[6] On 15 December 2019, he made his Bundesliga debut in a 1–0 home win against Eintracht Frankfurt when he came on for the injured Weston McKennie in the 13th minute.[7] On 1 July 2020, he returned to Barcelona as the loan was ended early.[8]
On 1 June 2021, Barcelona announced that the clause in Miranda's contract to automatically extend it until 2023 would not trigger, and that he would join Real Betis permanently once his loan spell ended. Barça will reserve 40% of the rights of any future sale, and a right to first refusal on re-signing Miranda.[10]
On 23 April 2022, Miranda scored the winning goal in the penalty shootout for Real Betis in the 2022 Copa del Rey Final.[11]
Bologna
On 3 July 2024, Miranda moved to Serie A, joining Bologna on a permanent deal.[12]
International career
Due to the isolation of some national team players following the positive COVID-19 test of Sergio Busquets, Spain's under-21 squad were called up for the international friendly against Lithuania on 8 June 2021.[13] Miranda made his senior debut in the match and scored as Spain won 4–0.[14]