Spiral gives your agent every tool with one account. Browse the tools →

Perplexity · Public Records

How to Use USGS earthquake search in Perplexity

Find cataloged seismic events and their magnitude, location, depth, and origin time within a region and time window. Use it to build an earthquake timeline or find event IDs for closer investigation.

Prompts to try with USGS earthquake search in Perplexity

Copy an example into Perplexity, or ask in your own words.

Use USGS earthquake search to list seismic events within 100 km of San Francisco during the past seven days, newest first, with magnitude, depth, and origin time.

USGS earthquake searchPerplexity
Try asking
  • Use USGS earthquake search to build a timeline within 100 km of Ridgecrest from July 4 through July 8, 2019, using the returned origin times and magnitudes.

  • Use USGS earthquake search to list events within 200 km of Tokyo during March 2011, oldest first, showing each event's magnitude and depth.

  • Use USGS earthquake search to look this up and give me the result as a table.

  • Pull the latest numbers from USGS earthquake search and tell me what changed since last week.

How to set up USGS earthquake search in Perplexity

Pick the way that suits you. Each takes about two minutes.

Use the Perplexity connector

  1. Add a remote connector

    In Perplexity, open Plugins in the sidebar (or Customize › Connectors if you don't see Plugins yet). Choose Add custom › Add MCP connector, then Remote. Name it Spiral and paste this MCP server URL:

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Select the Spiral card on the Plugins page to start sign-in. Spiral opens: sign in, pick the organization and click Authorize. No API key.

Use the Spiral skill

  1. Send Perplexity this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run USGS earthquake search

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "earthquake-usgs-gov/earthquakes/search",
        "input": {
          "limit": 50
        }
      }'

Then paste one of the prompts above: Perplexity finds USGS earthquake search on Spiral, shows the price and runs it.

USGS earthquake search providers and prices

Spiral runs USGS earthquake search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaPublic Records
USGS Earthquake Catalog (ComCat) · Search
earthquake-usgs-gov/earthquakes/search

Settings you can ask for

Ask Perplexity for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Limit1 to 20050

Events per page.

Latitude-90 to 90

Circle center latitude; requires longitude and max_radius_km.

Order bytime, time-asc, magnitude, or magnitude-asctime

Newest first (time), oldest first, largest first (magnitude) or smallest first.

Longitude-180 to 180

Circle center longitude.

Alert levelgreen, yellow, orange, or red

Only events with this PAGER alert level.

Max depth km-100 to 1000

max_depth_km

Max latitude-90 to 90

Rectangle north edge.

Min depth km-100 to 1000

min_depth_km

Min latitude-90 to 90

Rectangle south edge. Rectangle edges may be given in any subset; do not combine with the circle.

Max longitude-360 to 360

Rectangle east edge.

Max magnitude-2 to 10

max_magnitude

Max radius km0 to 20001.6

Circle radius in kilometres.

Min longitude-360 to 360

Rectangle west edge; values beyond +/-180 let a rectangle cross the antimeridian.

Min magnitude-2 to 10

min_magnitude

Every API field of USGS Earthquake Catalog (ComCat) · Search is on its tool page: open its card above.

What can you do with USGS earthquake search in Perplexity?

Turn earthquake records into a brief that explains where an event occurred and what its reported measurements mean. Use the available shaking, felt-report, and loss summaries to explain impacts without confusing public observations with estimates.

Earthquake news briefs

Find events around a reported earthquake, then inspect the selected event's magnitude, depth, shaking, and available impact estimates to draft a sourced newsroom brief.

Regional earthquake timelines

Build a dated sequence for a region such as Southern California and add available shaking and felt-report summaries for selected events.

Business incident context

Prepare an earthquake briefing near a public facility such as the Port of Los Angeles, using catalog locations and available impact summaries to support further investigation.

Earth science lessons

Compare magnitude, depth, ShakeMap intensity, and public felt reports across selected earthquakes to explain the different measurements.

Catalog revision reports

Compare repeated retrievals for a regional event list or a known earthquake and report changes to magnitude, depth, location, and available impact summaries.

Historical event comparisons

Find earthquakes within defined historical windows and assemble comparable event summaries, keeping differences in catalog coverage visible.

Questions about USGS earthquake search in Perplexity

Can Perplexity use USGS earthquake search?

Yes. Add Spiral to Perplexity as an MCP server, and Perplexity can find and run USGS earthquake search like any built-in tool.

How much does USGS earthquake search cost in Perplexity?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Perplexity plan is separate.

Do I need an Alexandria account to use USGS earthquake search in Perplexity?

No. Spiral runs USGS earthquake search on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up USGS earthquake search in Perplexity?

About two minutes: add a remote connector, then sign in to Spiral and approve.

Does Perplexity wait while USGS earthquake search runs?

USGS earthquake search runs in the background. Perplexity starts the run, checks on it and gives you the json when it's ready.

Does USGS cover earthquakes outside the United States?

Yes. ComCat receives earthquake parameters and related products from seismic networks worldwide. Geographic coverage and periods of record vary by contributing catalog.

How fresh is an individual earthquake record?

USGS says event pages and GeoJSON detail are cached for one minute during the first seven days after an event, then for 15 minutes. Those are cache intervals, not a promise that new observations arrive on that schedule.

Why do so many records show a depth of exactly 10 km?

USGS sometimes assigns a depth of 10 km when the available observations cannot support a reliable depth calculation. That value can be a fixed estimate rather than a precisely measured depth.

Are PAGER fatalities and losses confirmed totals?

No. PAGER provides estimated fatalities and economic losses following significant earthquakes worldwide. Describe these as modeled impacts when preparing an earthquake brief.

Is there a limit on large historical searches?

The underlying USGS catalog service caps a query at 20,000 events and rejects queries exceeding that limit. Divide broad historical work into smaller time windows.

Get started

Start using USGS earthquake search in Perplexity

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Perplexity:

Set up Perplexity

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options