Is there any plan to expose REST api for Anki?

I’m very excited to create some mini-apps around Anki. Some auto workflows on n8n and other apps.

I searched on the web and didn’t find a no-code approach for that.
It’s appreciated if any REST api of Anki is available to develop without coding in python just by api calling.

2 Likes

There is AnkiConnect for local scripting.

2 Likes

Thanks for your reply.
Isn’t there any plan to develop global api access? To build more apps, websites, and integrations around Anki.

…I would espect this resulting in higher web service costs… Unless someone external wants to pay for that.

AnkiWeb is a free service, and API access would increase the hosting costs.

2 Likes

It’s a shame if that is the only stopping it. I came here to find out if it would be possible for students to share metrics from AnkiWeb with other users or apps via an API. I’d like to create a leaderboard of Anki use among my students, but it would currently need the student to share their Anki-web password with the service which is obviously not a good idea.

Is the code for Ankiweb shared somewhere? Would it be possible to allow users to sync with Ankiweb forks, or perhaps sync stats with multiple sites?

1 Like

Sorry, AnkiWeb is not open source. If you write an add-on, you can sync the data to your own server.

Would we document the policy of Ankiweb and API in Readme?
I have the same doubt and luckily find this thread.

BTW. Thanks @dae for Anki!

The terms are documented on https://ankiweb.net/account/terms

1 Like

So you are looking propably for an Api similar to this?

https://mochi.cards/docs/api/

I was looking a bit around and then found this project. maybe its helpful