DEVELOPERS

API & integrations

Everything public on DailyChallenge is available as JSON: games, daily leaderboards, challenge links, player profiles and community stats. Bots and games can also log results for players who give them a token.

Read today’s GeoGuessr challenges

curl https://dailychallenge.org/api/v1/games/geoguessr/days/today/challenges

Log a result for a player

The share text decides the game. The player creates the token in their settings.

curl -X POST https://dailychallenge.org/api/v1/results \
  -H 'Authorization: Bearer dc_…' \
  -H 'Content-Type: application/json' \
  -d '{"text": "#travle #1345 +0 (Perfect)"}'

Run a daily game? Add a share button

Let your players send their result here with one click: no account on your side, no API token, no userscript. They see what will be logged and confirm it on DailyChallenge, logging in first if they need to.

A link, from any language

Put your share text in text. Add game (your game’s slug) if we don’t recognise your share text yet.

https://dailychallenge.org/share?text=<url-encoded share text>&game=<slug>

Or a button with our script

<script src="https://dailychallenge.org/share.js" defer></script>

<button data-dailychallenge data-text="Travle #1345 +0 (Perfect)">
  Share to DailyChallenge
</button>

<!-- or read the text from an element on your page -->
<button data-dailychallenge data-text-from="#share-text">Share to DailyChallenge</button>

<script>
  // or from your own Share code
  DailyChallenge.share(shareText, { game: "travle" });
  window.addEventListener("dailychallenge:logged", (e) => console.log(e.detail)); // { game, day, daily }
</script>

Try it with your share text

For leaderboards and stats, give your share text a stable first line, like Travle #1345 or Flagdoku 952 9/9, and tell us the format here or on our Discord. Until we add a parser, results are saved as notes.

Understood today: GeoGuessr, FoodGuesser, Krillion, WikiParty.org, GeoBingo.io, RNGe🌎dle, Flagdoku, Geonections, Travle, RNGdle, enclose.horse, MapTap, Timeguessr, Flagdoku Connections, FactMap, Farflung, CityClicker, GeoGrid, Netdle, Magnitudle, PopulationGuessr, GuessTheGame, Tescodle, Wonderhop, Wormillion, Feetle, Plain, Poople, SHRIMPLY, Rooted, Hunchy, Arrow Puzzle, Draw The Country, Crowdict, SlopGuessr, GeoLine, iNatGuessr, Kabloom, ballguessr, elect.horse, Bracket City, Inventdoku, Word Chain Games, Daily Holes, Unwordle.