{"uid":"cap_Sp9f14K99uXqZteVkRpIt","slug":"astro-agents-finance-analogues-2ad192ee","name":"Astro Agents Finance Analogues","description":"Sky analogues (matching skies): Find the past or future dates whose planetary positions best match a reference sky, ranked by a stated angular distance.","url":"https://astro-agent.dev/v1/finance/analogues?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"range":{"type":"object","properties":{"end":{"type":"string"},"start":{"type":"string"}}},"top_n":{"type":"integer","default":10,"maximum":100,"minimum":1},"bodies":{"type":"array","items":{"enum":["sun","moon","mercury","venus","earth","mars","jupiter","saturn","uranus","neptune","pluto"],"type":"string"}},"format":{"enum":["columns","rows"],"type":"string","default":"columns"},"options":{"type":"object","properties":{"zodiac":{"enum":["tropical","sidereal"],"type":"string","default":"tropical"},"ayanamsa":{"enum":["fagan_bradley","krishnamurti","lahiri","raman","true_chitrapaksha","yukteshwar"],"type":"string","default":"lahiri"}}},"weights":{"type":"object","additionalProperties":{"type":"number","minimum":0}},"features":{"type":"array","items":{"enum":["longitude","aspects","declination","retrograde"],"type":"string"}},"direction":{"enum":["past","future","both"],"type":"string","default":"both"},"reference":{"oneOf":[{"type":"string"},{"type":"object","required":["datetime"],"properties":{"datetime":{"type":"string"}}},{"type":"object","required":["values"],"properties":{"values":{"type":"object","additionalProperties":{"type":["number","boolean"]}},"datetime":{"type":"string"}}},{"type":"object","required":["birth"],"properties":{"birth":{"type":"object","required":["datetime"],"properties":{"datetime":{"type":"string"},"latitude":{"type":"number","maximum":90,"minimum":-90},"timezone":{"type":"string"},"longitude":{"type":"number","maximum":180,"minimum":-180}}}}}]},"resolution":{"enum":["1h","4h","12h","1d","1w"],"type":"string","default":"1d"},"perspective":{"enum":["geocentric","heliocentric","both"],"type":"string","default":"geocentric"},"max_distance":{"type":"number","maximum":180,"minimum":0},"min_separation_days":{"type":"number","default":30,"minimum":0},"require_same_retrograde":{"type":"boolean","default":false}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"meta":{"engine":"astro-agents/1.8.6","llm_used":false,"ephemeris":"NASA/JPL DE440 (1800-01-01..2200-01-01)","deterministic":true,"result_sha256":"b43da7c67d8a81c7d909d53815ef4f2c0ed3f4c9ec4206fc1daf988cf848ecb0"},"endpoint":"finance/analogues","result_excerpt":{"counts":{"matches":5,"eligible":32876,"candidates":36525},"metric":"score = sum(w_i * d_i) / sum(w_i) over the matched features i, in degrees; 0 = the same sky","matches":{"score":[42.558526,55.155907,68.708539],"date_utc":["2016-05-09T00:00Z","2003-02-17T00:00Z","1992-05-01T00:00Z"]},"reference":"2026-10-29T00:00Z"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.25","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.25/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.25","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fcUw_AlfyDQboWgxpRHfM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.25","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Finds historical dates whose planetary configurations most closely match a given reference date, using NASA/JPL DE440 ephemeris data, for market analogy and backtesting","exampleAgentPrompt":"Find the top 5 historical dates between 1990 and 2025 whose geocentric planetary configuration — tracking sun, moon, saturn, and jupiter longitude and aspects — most closely matched October 29, 2026, using daily resolution and tropical zodiac, so I can see what the market was doing during those analogous periods.","exampleUseCases":[{"title":"Market timing via planetary analogues","prompt":"Find the top 10 past dates from 2000 to 2024 with the closest planetary match to March 15, 2025, using geocentric perspective, daily resolution, tracking sun, mercury, venus and mars longitude and aspects with tropical zodiac — I want to see what the S&P 500 did around those analogous dates."},{"title":"Backtesting astrological trading signals","prompt":"Give me the 5 closest historical planetary analogues to January 20, 2026 looking both past and future within a 1990–2030 range, tracking sun and saturn longitude plus retrograde status at weekly resolution, so I can backtest whether these sky patterns have historically preceded market reversals."},{"title":"Natal chart market analogy research","prompt":"Using my birth chart — born January 10, 1985 at latitude 40.71 longitude -74.01 timezone America/New_York — find the top 10 historical dates between 1980 and 2024 with the most similar geocentric planetary configuration, tracking moon, jupiter and pluto with daily resolution and sidereal zodiac using Lahiri ayanamsa."}],"resultDescription":"Returns a ranked list of historical dates (up to top_n) whose planetary configuration best matched the reference, each with a similarity score (lower = more similar, 0 = identical sky), alongside metadata including the ephemeris version (NASA/JPL DE440), a SHA-256 hash of the result for reproducibility verification, total eligible and candidate date counts, and the reference datetime used.","failureModes":["Invalid or out-of-range reference date (outside 1800-01-01 to 2200-01-01 ephemeris coverage)","Unsupported celestial body enum value","Range start/end dates outside ephemeris bounds","top_n exceeds maximum of 100","Invalid ayanamsa specified without sidereal zodiac context","min_separation_days constraint too large relative to search range, yielding zero matches","Malformed datetime strings causing parse errors","Empty features array resulting in no comparable dimensions","Payment failure (x402 protocol) blocking API access"],"whenToPreferThis":"Choose this endpoint when you need verifiable, reproducible planetary analogy matching backed by the official NASA/JPL DE440 ephemeris with cryptographic proof (SHA-256). Ideal for quantitative researchers and traders who want to identify historical periods with similar celestial conditions to a target date, and who require deterministic, auditable results rather than approximate or LLM-generated astrological commentary. Prefer this over generic astrology APIs when reproducibility, ephemeris provenance, and financial/backtesting use cases are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T00:36:23.289Z","isFirstParty":false,"canonicalSlug":"astro-agents-finance-analogues-2ad192ee"}