{"uid":"cap_DRjqQt8lWmggfXhGwEU_p","slug":"astro-agents-planetary-lines-for-finance-0304682e","name":"Astro Agents - Planetary Lines for Finance","description":"Gann planetary lines: Planet degrees (geocentric and heliocentric) at a moment or as a time series, with aspect offsets, Mean of 5 / Circle of 8 and price levels.","url":"https://astro-agent.dev/v1/finance/planetary-lines?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":{"end":{"type":"string"},"start":{"type":"string"},"bodies":{"type":"array","items":{"enum":["sun","moon","mercury","venus","earth","mars","jupiter","saturn","uranus","neptune","pluto","mean_node","true_node"],"type":"string"}},"format":{"enum":["columns","rows"],"type":"string","default":"columns"},"unwrap":{"type":"boolean","default":false},"aspects":{"oneOf":[{"enum":["all"],"type":"string"},{"type":"array","items":{"enum":["conjunction","opposition","trine","square","sextile","quincunx","semisextile","semisquare","sesquiquadrate","quintile","biquintile"],"type":"string"}}]},"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"}}},"averages":{"type":"array","items":{"enum":["mean_of_5","circle_of_8"],"type":"string"}},"datetime":{"type":"string"},"interval":{"enum":["1h","4h","12h","1d","1w"],"type":"string","default":"1d"},"time_utc":{"type":"string","default":"00:00"},"timezone":{"type":"string"},"price_unit":{"type":"number","exclusiveMinimum":0},"perspective":{"enum":["geocentric","heliocentric","both"],"type":"string","default":"both"},"price_range":{"type":"object","properties":{"max":{"type":"number"},"min":{"type":"number","minimum":0}}},"average_method":{"enum":["arithmetic","circular"],"type":"string","default":"arithmetic"},"include_declination":{"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":"b2c0df24d8f2534aba354875a0ae36acaa112b0d91f6530dd3529b9582ba9099"},"endpoint":"finance/planetary-lines","result_excerpt":{"lines":[{"id":"geo.sun","degree":280.038994,"price_levels":[]},{"id":"geo.sun+90","degree":10.038994,"price_levels":[]},{"id":"geo.sun+180","degree":100.038994,"price_levels":[]}],"price_levels":[{"line":"geo.mean_of_5+180","price":34528.739815},{"line":"geo.jupiter","price":35582.39315},{"line":"helio.mean_of_5+180","price":38425.542754}]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.2","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.2/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.2","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_1E5tymucugDf8DhUUsClN","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.2","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes verifiable planetary degree positions and price-level intersections for a date range using the NASA/JPL DE440 ephemeris, for use in financial market analysis and backtesting.","exampleAgentPrompt":"Using the NASA/JPL DE440 ephemeris, give me the planetary lines for Sun, Jupiter, and Saturn from 2024-01-01 to 2024-03-31 at daily intervals, geocentric and heliocentric, mapped to a price range of $30,000 to $50,000 with a price unit of $100, using tropical zodiac — and include the SHA-256 hash so I can verify the result.","exampleUseCases":[{"title":"Backtesting planetary price levels for Bitcoin","prompt":"Pull verifiable planetary lines for Bitcoin backtesting: give me daily geocentric and heliocentric positions for Sun, Moon, Jupiter, and Saturn from 2023-01-01 to 2023-12-31, mapped to a BTC price range of $15,000 to $45,000 with a price unit of $1, tropical zodiac, and include the SHA-256 result hash."},{"title":"Pre-trade planetary aspect timing for gold","prompt":"What planetary aspects — conjunctions, oppositions, and trines — involving Mars and Venus are active between 2024-06-01 and 2024-06-30 at 4-hour intervals? Map them to a gold price range of $2,000 to $2,500 with a price unit of $1 and give me the deterministic hash so I can reproduce this later."},{"title":"Sidereal zodiac planetary signals for quant research","prompt":"I need sidereal (Lahiri ayanamsa) planetary degree positions for Mercury, Venus, Mars, Jupiter, and Saturn from 2020-01-01 to 2022-12-31 at weekly intervals in columns format for quant backtesting — both geocentric and heliocentric perspectives, with the mean_of_5 average included and a SHA-256 proof of the result."}],"resultDescription":"Returns a JSON object containing: planetary line entries with body IDs, degree positions, and mapped price levels; optional aspect lines; optional mean averages (mean_of_5, circle_of_8); metadata including ephemeris version (NASA/JPL DE440), engine version, determinism flag, and a SHA-256 hash of the result for cryptographic verification. Output can be formatted as rows or columns.","failureModes":["Invalid date range outside ephemeris coverage (1800-01-01 to 2200-01-01) returns an error","Unknown celestial body enum value causes schema validation failure","Price range with max less than min returns an error","Invalid ayanamsa for tropical zodiac (only relevant for sidereal) may be ignored or cause a warning","Requesting an unsupported interval value fails schema validation","Payment failure (x402 protocol) results in 402 response before computation begins"],"whenToPreferThis":"Choose this endpoint when you need cryptographically verifiable, reproducible planetary position data tied to financial price levels, specifically backed by the NASA/JPL DE440 ephemeris. It is ideal for quants, traders, and AI agents doing astro-finance backtesting who require deterministic outputs with SHA-256 proof. Prefer this over generic astrology APIs when reproducibility, scientific ephemeris sourcing, and price-level mapping are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-18T01:10:20.981Z","isFirstParty":false,"canonicalSlug":"astro-agents-planetary-lines-for-finance-0304682e"}