I would like to use the IMPORTDATA Google Sheets function to load a Wolfram Cloud API into my Spreadsheet. How can I do that?


1 Answer 1


Yes, it's possible to do that. Here is a toy code.

 APIFunction[{}, Function[{}, Table[10 i + j, {i, 10}, {j, 4}]], "CSV"]
 , "csv-test-data", Permissions -> "Public"


Then just go to you sheet and use the IMPORTDATA function like this: =IMPORTDATA("https://www.wolframcloud.com/obj/your-user/csv-test-data")

Voialà! Here is the result

enter image description here


  • Your data has to be public

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.