
The following text is an English translation from a Spanish book written at the court of Alphonse the Wise around the second half of 13th century, and known as Vaticanus Reginensis 1283.
Alfonso D’Agostino, in his edition of the book, identifies two main sources for the manuscript, Ghayat al-hakim and the Great Introduction of Albumasar.
The Spanish manuscript shares some chapters with Latin Picatrix, translated at the court of Alphonse too.
PDF version 
BIBLIOGRAPHY
Alfonso X, Astromagia : ms. Reg. lat. 1283 (cura Alfonso D’Agostino)
Barataria, 6 (Napoli: Liguori, 1992).
Alejandro García Avilés, “Two Astromagical Manuscripts of Alfonso X,” Journal of the Warburg and Courtauld Institutes, 59 (1996), 14-23
David Pingree, “Some of the Sources of the Ghāyat al-hakīm ,” Journal of the Warburg and Courtauld Institutes, 43 (1980), 1-15
David Pingree, “Between the Ghāya and Picatrix. I: The Spanish Version ” Journal of the Warburg and Courtauld Institutes, 44 (1981), 27-56