/v1/notes
Account recent notes
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/nostr-api/v1/notes" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/nostr-api/v1/notes", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/nostr-api/v1/notes");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/nostr-api/v1/notes",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"count": 20,
"notes": [
{
"id": "bb6fb81fee7298027e654deaa13a8a603fbee7a230ffdd320657b5040a9676ec",
"content": "Maybe Nostr could be governed by Futarchy, or at least OpenSats.",
"mentions": 0,
"tag_count": 0,
"created_at": 1780967976,
"replies_to": 0
},
{
"id": "d4c11312c688d2be284647e60719a277da10f873176e8a1ff59c911223136632",
"content": "There should be a Nostr newsletter that only talked about the drama and fights happening here.",
"mentions": 0,
"tag_count": 0,
"created_at": 1780963367,
"replies_to": 0
},
{
"id": "6a6fd11e2f37aa481507b7624aae7f6759885ee05537c84a45fc9672a53c97c0",
"content": "https://www.youtube.com/watch?v=m6BQKFs3-VM",
"mentions": 0,
"tag_count": 0,
"created_at": 1780954831,
"replies_to": 0
},
{
"id": "db28b3a9e451659fe117010920a4d3c56a611e4a77355c176be547c6a1c451aa",
"content": "This is expected, just like programmers tend to write software for other programmers, people from cinema often make movies about the process of making movies or acting, writers write books about writing.\n\nBut in the case of Bitcoiners for some reason it seems to be much worse.\n\nLook at how many wallets exist, or services that allow you to visualize Bitcoin things, lend Bitcoin, exchanges in all their shapes, what else?",
"mentions": 1,
"tag_count": 2,
"created_at": 1780786247,
"replies_to": 1
},
{
"id": "c814da92051bc7cda94c1072c6c8084e858ebdc87bc0581926b8c760b2a9e8dd",
"content": "Here it is: https://npub180cvv07tjdrrgpa0j7j7tmnyl2yr6yr7l8j4s3evf6u64th6gkwsyjh6w6.nsite.pyramid.fiatjaf.com/\n\nBut all the blobs and nsite manifests have to be published directly to the #pyramid for it to work. A natural anti-abuse mechanism.",
"mentions": 1,
"tag_count": 3,
"created_at": 1780707711,
"replies_to": 1
},
{
"id": "f2bcc986d5f450215037ad222320c66577f99f4d523b25a2b0452d8e21be7d68",
"content": "Because most web pages take years to load one would think it would be a good idea to launch them and switch to doing something else while they load, right?\n\nBut no, you are wrong. You can't do that because browsers have decided that they won't run the JavaScript of these pages if they are not focused.\n\nSo you are forced to stare at the loading screen of every web page while they load.",
"mentions": 0,
"tag_count": 0,
"created_at": 1780679123,
…